Estimate how much of a passage consists of content words.
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.
Tokens are classified as content words or grammatical function words, then the number of distinct or content tokens is divided by total token count according to the selected density definition. Lemmatization and treatment of names change the measured result.
The quick brown fox jumps over the lazy dog.
"the" - function word, appears 2 times "over" - function word, appears 1 time
Readability studies, language learning, and summary editing measure lexical density.