Home/Text Analysis, List Comparison & Editing Tools/Text Dispersion & Lexical Richness TTR Analyzer

Text Dispersion & Lexical Richness TTR Analyzer

Calculate Type-Token Ratio (TTR), Guiraud Root TTR, Carroll's Index, Herdan's C, Hapax Legomena, and positional dispersion tracking across text segments.

Corpus & Tokenization Engine

Load Benchmark Corpus:
49 tokens | 488 chars
Token Normalization Filters:
5 slices

Divides corpus chronologically into equal token segments to analyze vocabulary pacing and repetition drift.

Diversity Analytics & Index Scorecard

Very High Diversity
Standard TTR

93.9%

V / N = 0.939
Root TTR (Guiraud)

6.57

V / √N
Unique Types (V)

46

Vocabulary
Total Tokens (N)

49

Running Words
Carroll's Corrected (CTTR)

4.647

Formula: V / √(2N)
Herdan's C Index

0.984

Formula: log V / log N
Hapax Legomena (Singletons)

43 (93%)

Dis Legomena: 3
Chronological Segment DispersionNormalized TTR per slice
Slice 1 (Tokens 1–10)100.0% TTR (10/10)
Slice 2 (Tokens 11–20)100.0% TTR (10/10)
Slice 3 (Tokens 21–30)100.0% TTR (10/10)
Slice 4 (Tokens 31–40)100.0% TTR (10/10)
Slice 5 (Tokens 41–49)100.0% TTR (9/9)
Word TypeFrequencyRelative Density
lexical24.08%
syntactic24.08%
and24.08%
empirical12.04%
observation12.04%
of12.04%
diversity12.04%
demonstrates12.04%
significant12.04%
variance12.04%
across12.04%
diverse12.04%
discourse12.04%
communities12.04%
sociolinguistic12.04%

Linguistic Insight: For manuscripts exceeding 500 words, compare Guiraud's Root TTR (V / √N) and Herdan's Index rather than raw TTR. Raw TTR naturally decreases with length due to unavoidable repetition of grammatical particles and determiners.

The Mathematical Mechanics of Lexical Diversity & Type-Token Ratio

Lexical richness describes the variety, depth, and non-redundancy of vocabulary deployed in a text corpus. While an initial pass with a readability score calculator evaluates cognitive ease and grade levels, calculating the Type-Token Ratio (TTR) establishes an objective baseline for stylistic maturity, genre variation, authorship attribution, and linguistic entropy.

Types vs. Tokens

A “token” represents any single instance of a word occurring in running text, whereas a “type” represents a unique word form. The sentence “The dog chased the cat” contains 5 tokens but only 4 types because the determiner “the” repeats twice.

Non-Linear Decay

Because languages operate on closed grammatical classes (prepositions, conjunctions, pronouns), new vocabulary introduces at sub-linear rates as document length increases. As a consequence, uncorrected TTR slopes downward naturally over longer texts.

Singleton Frequencies

Hapax legomena (words occurring exactly once) serve as the primary engine of creative differentiation. A high ratio of singletons indicates deliberate word choice, descriptive nuance, and technical domain specificity.

Corpus Formulas & Computational Definitions

Metric NameAlgebraic FormulaCore Stylometric Purpose
Standard TTRTTR = V / NBaseline ratio of unique types (V) to total tokens (N). Optimal for short passages (50–300 words).
Guiraud's Root TTRR = V / √NCompensates for sample size by scaling against the square root of total tokens. Standard in stylometric benchmarks.
Carroll's CTTRCTTR = V / √(2N)Reduces sample-size distortion across long prose by normalizing against twice the corpus token volume.
Herdan's C IndexC = log(V) / log(N)Bilogarithmic formulation assessing relative vocabulary growth rate across book-length manuscripts.
Hapax RatioHR = V₁ / VMeasures singleton rarity; calculates the percentage of total vocabulary consisting of words used only once.

Comparative Benchmark Matrix: Lexical Richness by Genre & Medium

Lexical density and diversity vary drastically across communication mediums. While tools like a word frequency and stopword counter isolate prominent thematic terms and raw keyword volume, stylistic requirements differ: technical documentation prioritizes exact terminology, whereas creative narratives depend upon broad lexical variation:

Writing GenreExpected TTR (300w)Guiraud IndexDominant Structural CharacteristicsAnalytical Pitfalls
Academic Journals0.65 – 0.808.5 – 12.0High nominal density, polysyllabic Latinate roots, low pronoun countsOveruse of passive voice and standard jargon clusters
Literary Fiction0.55 – 0.727.5 – 10.5Sensory adjectives, evocative metaphors, varied dialogue verbsDialogue passages naturally depress overall TTR
Product Copywriting0.40 – 0.555.0 – 7.5Purposeful message reinforcement, recurring brand keywords, action verbsDeliberate repetition can be mistaken for vocabulary deficiency
SEO & Web Articles0.50 – 0.656.8 – 9.2Semantic entity expansion, conversational readability, structured headingsKeyword stuffing creates artificial localized repetition spikes

Practical Stylistic Enhancement: 5 Steps to Balance Vocabulary Richness

Achieving high lexical diversity does not mean replacing everyday expressions with esoteric thesaurus substitutes. Follow these actionable editing principles to balance clarity, engagement, and vocabulary breadth:

Recommended Editing Practices

  • • Analyze Sequential Slices: Check your segment dispersion graph to identify sudden dips in vocabulary variety, which often signal repetitive exposition or tired phrasing.
  • • Replace Vague Dummy Verbs:Swap generic verbs (“make”, “get”, “do”, “have”) with active, descriptive counterparts (“formulate”, “procure”, “execute”).
  • • Toggle Stop Word Filtering: Turn on stop word exclusion to analyze your core lexical nouns and verbs independently from grammatical glue words.
  • • Vary Sentence Openers:Repeated sentence starters (“This shows...”, “It is...”) bloat pronoun frequencies and depress Guiraud ratings.
  • • Leverage Semantic Co-occurrence: In digital content, use related domain concepts and LSI synonyms rather than repeating the exact target query.

Vocabulary Pitfalls to Avoid

  • • The Thesaurus Trap: Inserting obscure synonyms can increase raw TTR while destroying readability and natural rhythmic cadence.
  • • Ignoring Length Distortion:Never compare the raw TTR of a 2,000-word article directly against a 150-word abstract without using Guiraud's or Herdan's normalized indices.
  • • Dialogue Stripping Blindspots: Natural human speech is naturally repetitive. Novel chapters with heavy character dialogue will register lower diversity without indicating poor writing.
  • • Brand Name Dilution: In commercial writing, maintaining consistent product names is crucial for consumer clarity, even if it introduces localized repetition.

Frequently Asked Questions (FAQ)

What is Type-Token Ratio (TTR) in quantitative linguistics?

Type-Token Ratio (TTR) is a computational metric of lexical diversity defined as the ratio of unique word types (V) to total running word tokens (N). A higher ratio indicates a rich, varied vocabulary, while a lower ratio indicates recurrent vocabulary and thematic repetition.

Why does standard TTR decline as text length increases?

Standard TTR suffers from sample-size dependency. As a text grows longer, function words (such as articles, prepositions, and pronouns) repeat inevitably, causing the total token count (N) to outpace new unique vocabulary introductions (V). This is why linguists apply sample-size corrected formulations like Guiraud's Root TTR and Herdan's bilogarithmic C.

What is the difference between Guiraud's Root TTR and Carroll's Corrected TTR?

Guiraud's Root TTR divides unique types by the square root of total tokens (V / √N), diminishing the distorting effect of text length. Carroll's Corrected TTR divides types by the square root of twice the token count (V / √(2N)), offering an alternative normalization factor commonly utilized in comparative stylometry.

What are Hapax Legomena and Dis Legomena?

Hapax Legomena are words that occur exactly once within a corpus. Dis Legomena are words that appear exactly twice. In quantitative corpus analysis, a higher proportion of Hapax Legomena relative to vocabulary size signals exceptional expressive nuance and specialized terminology.

How does segment dispersion help evaluate textual pacing?

Textual dispersion breaks a manuscript or corpus into sequential proportional segments. By calculating lexical richness across consecutive sections, writers and researchers can spot localized vocabulary exhaustion, dialogue shifts, or topical transitions where repetition spikes.

Does filtering stop words provide a more accurate measure of vocabulary?

Filtering grammatical stop words focuses the analysis exclusively on lexical content words (nouns, descriptive adjectives, verbs, and adverbs). This isolates semantic richness from structural syntactic frequency, delivering clearer insights into technical and thematic sophistication.

Related & Complementary Utilities

Explore more privacy-first client-side web tools.