Skip to content
Redmoon Calculators
文本分析 All languages

Lexical Diversity (TTR) Calculator

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

0 chars

工作原理

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.

公式

常见问题

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

发送反馈

我们会阅读每一条消息。告诉我们可以改进什么或你喜欢什么。