Compare the distinct meaningful words in two English texts with Jaccard set similarity.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Both sides are lowercased, ASCII punctuation becomes spaces, tokens under three characters and a fixed English stop list are discarded, and each remainder becomes a set. Similarity is the size of the shared set divided by the size of the combined set; repeated occurrences and word order have no effect.
Input: JavaScript is a popular programming language for web development. Second: Python is a popular programming language for data science.
Similarity: 33 Common words: popular, programming, language Unique to first: javascript, web, development Unique to second: python, data, science Analysis: Texts have some overlap but are mostly different.
Editors compare vocabulary retained between revisions, search analysts inspect query-to-copy overlap, and classrooms demonstrate Jaccard similarity on word sets.