- Introduced by
- Philip M. McCarthy
- Year
- 2005
- Type
- Length-robust index of lexical diversity
- Family
- Lexical diversity / vocabulary richness measures
What does it do?
The Measure of Textual Lexical Diversity (MTLD) is a length-robust index of vocabulary richness introduced by Philip McCarthy in his 2005 doctoral dissertation and examined in a 2010 validation study by McCarthy and Jarvis.
Instead of computing one type-token ratio (TTR) over the whole text, MTLD reads the text in order, tracks a running TTR, and counts how many sequential word runs are needed before that ratio falls to a criterion value of 0.720. The mean run length, computed forward and backward and averaged, is the MTLD score.
The intuition behind the method
Think of reading a text aloud while watching a gauge that starts full and drops a little each time you meet a word you have already used. Early on the gauge stays high because almost every word is new; as repetition builds up, it sinks. MTLD measures how many words, on average, you can read before the gauge sinks to a fixed low-water mark of 0.720. At that point one unit of diversity is used up, the gauge is reset, and counting starts again. A writer with a varied vocabulary goes a long way between resets and gets a high score; a repetitive writer reaches the mark quickly and gets a low one. Because the score is built from these self-contained runs rather than from one ratio over the whole text, it is designed to be less sensitive to text length than raw TTR.
History
MTLD was introduced by Philip McCarthy in his 2005 doctoral dissertation at the University of Memphis, which assessed the range and usefulness of lexical diversity measures and the potential of MTLD. The measure was subsequently examined in a validation study by McCarthy and Jarvis (2010), published in Behavior Research Methods, which compared MTLD with vocd-D and HD-D.
When to use it
Use MTLD when texts differ in length and you need to compare their lexical diversity, because raw TTR is strongly dependent on length. It suits learner texts, clinical language samples and stylometric material where samples cannot be trimmed to a common length, provided each text is long enough to form several factors. A minimum of roughly 100 tokens is often given as a guideline for this method; below that, few complete factors form and the estimate may become unstable, so stability should be checked on the data at hand. Avoid MTLD for very short texts, and do not rely on it where the question concerns the frequency structure of repeated words rather than overall type diversity. Since MTLD, vocd-D and HD-D capture related but not identical aspects of diversity, reporting more than one measure is a sensible precaution.
Limitations and considerations
- Short texts: below roughly 100 tokens, the commonly given minimum, too few complete factors may form for the mean run length to be stable.
- The 0.720 criterion is a fixed default; scores computed with a different criterion are not on the same scale and should not be compared directly.
- Type-based counting ignores frequency: a word repeated within a factor counts the same whether it occurs twice or many times, so the concentration of repetition is not represented.
- Preprocessing dependence: tokenization, lemmatization and the handling of proper nouns and numerals change the type and token counts, and therefore the score.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Sequential design: MTLD evaluates diversity as the text unfolds, so it records how quickly repetition accumulates instead of summarizing the whole text in one ratio.
- Bidirectional averaging reduces end-of-text effects, because the incomplete final factor is estimated in both directions and the two directional scores are averaged.
- Deterministic: the algorithm involves no random sampling, so the same tokenized text always yields the same score, unlike sampling-based measures such as vocd-D.
- Transparent calculation: the score is the mean number of tokens per factor, so each step can be checked by hand on a short sample.
Applications
- Second-language writing and speaking assessment: indexing the vocabulary range of learner texts of varying length.
- Clinical and developmental linguistics: tracking lexical diversity in language samples from children and from patients with aphasia or dementia.
- Stylometry and authorship analysis: comparing the lexical richness of authors and genres across unequal-length documents.
- Automated essay scoring and writing-quality research: using MTLD as a feature in models predicting holistic writing quality.
- Discourse and conversation analysis: comparing diversity across speakers, registers, or experimental conditions where sample lengths differ.
How it works
How it works
MTLD processes the tokens in order, maintaining a running type-token ratio TTR_i that is recomputed after each successive token: V_i is the number of distinct types seen so far in the current run and N_i is the number of tokens so far in the current run. At the very start the ratio is 1.0 (every word is new) and it declines as repetition accumulates. This sequential, position-by-position evaluation is what distinguishes MTLD from whole-text ratio measures and from random-sampling approaches.
Formula
\text{TTR}_i = \frac{V_i}{N_i}, \qquad i = 1, 2, \ldotsEach time the running TTR drops to or below the criterion value tau, set by default to 0.720, one complete 'factor' is recorded, the type and token counters are reset to zero, and the process resumes from the next token. The factor count is therefore the number of times the text exhausts a unit of lexical diversity. The 0.720 default is a conventional setting and is best treated as a fixed convention. Keeping it fixed means every factor has the same definition across studies.
Formula
\text{TTR}_i \le \tau, \quad \tau = 0.720 \;\Rightarrow\; \text{factor}{+}{=}1,\; \text{reset}When the end of the text is reached the final run will usually not have fallen all the way to the criterion, leaving an incomplete factor. This partial factor is estimated by linear interpolation: the proportion of the way the final run's TTR has travelled from 1 toward the criterion, given by (1 minus the final TTR) divided by (1 minus tau). Adding this fraction to the count of complete factors gives the total factor count F, so that the leftover text contributes to the score rather than being discarded.
Formula
f_{\text{partial}} = \frac{1 - \text{TTR}_{\text{end}}}{1 - \tau}, \qquad F = f_{\text{complete}} + f_{\text{partial}}The directional MTLD is the total number of tokens N divided by the total factor count F, giving the mean factor length, that is, the average run length needed to exhaust one unit of diversity. Because processing forward and backward can give slightly different factor counts, since the partial factor falls at opposite ends, MTLD is computed in both directions and the two directional scores are averaged. This averaging reduces the influence of the end of the text and gives the symmetric MTLD value reported for the text.
Formula
\text{MTLD} = \tfrac{1}{2}\!\left(\frac{N}{F_{\rightarrow}} + \frac{N}{F_{\leftarrow}}\right)Common pitfalls
- Applying MTLD to transcripts shorter than the recommended minimum and treating the resulting unstable values as comparable.
- Changing the 0.720 criterion (or using a tool with a different default) and comparing the result against scores computed with the standard criterion.
- Mixing lemmatized and unlemmatized texts, or different proper-noun handling, so that incomparable type definitions are compared.
- Reporting only the forward score from a one-directional implementation, which carries an end-effect bias that the bidirectional average is designed to reduce.
Frequently asked questions
Why is the criterion TTR set to 0.720?
0.720 is the default criterion of the measure and is best treated as a fixed convention. Its practical importance is that it defines the factor boundary: changing it changes the score, so studies that compare MTLD values should use the same criterion and state it explicitly.
Why does MTLD compute the score forward and backward?
Processing a text from start to end usually leaves an incomplete final factor, which MTLD estimates by interpolation. Reading the same text from end to start places that partial factor at the other end and can give a somewhat different factor count. Averaging the forward and backward scores reduces the influence of this end effect, so the result depends less on which end the analysis starts from.
How is MTLD different from vocd-D?
Both aim to reduce length dependence, but they do so differently. vocd-D fits a curve to TTR values obtained from repeated random subsamples, so its result depends on the sampling procedure. MTLD reads the text in order and counts how many runs are needed before the running TTR falls to the criterion, so it has no random component. The 2010 validation study by McCarthy and Jarvis compared MTLD with vocd-D and HD-D and is the reference to consult for their comparative findings.
Related methods
Sources
McCarthy, P. M., & Jarvis, S. (2010). MTLD, vocd-D, and HD-D: A validation study of sophisticated approaches to lexical diversity assessment. Behavior Research Methods, 42(2), 381–392.
Open DOI referenceMcCarthy, P. M. (2005). An assessment of the range and usefulness of lexical diversity measures and the potential of the measure of textual, lexical diversity (MTLD) (Doctoral dissertation). University of Memphis.
Open publication reference