Skip to content
Redmoon Calculators
Analyse de texte All languages

Lexical Diversity (TTR) Calculator

Type‑Token Ratio plus MATTR moving average — see how much your vocabulary repeats.

0 chars

Comment ça marche

Type-token ratio (TTR) is the simplest measure of vocabulary variety: unique words / total words.

Because TTR drops as text gets longer, this tool also computes the Moving Average Type-Token Ratio (MATTR) over a 50-word window, which is length-invariant.

You also get a list of "hapax legomena" — words that appear exactly once.

Formule

FAQ

What is type-token ratio (TTR)?

The ratio of unique words to total words. TTR drops as text gets longer, so it's sensitive to length.

What is MATTR?

Moving Average Type-Token Ratio. It computes TTR over a sliding window (we use 50 words) so the score is comparable across documents of different lengths.

Related tools

Envoyer un retour

Nous lisons chaque message. Dites-nous ce qui peut être amélioré ou ce que vous aimez.