T-044Word Length Distribution (WLD)

Statistical Analysistext2005

Calculates the statistical distribution of word lengths (character counts) across a document. Human writers unconsciously vary the length of their words to create cadence, emphasize a point, or adapt to the cognitive load of the subject matter. This results in a distinctive, slightly erratic word-length histogram with natural spikes and valleys. Large Language Models (LLMs), engineered to minimize perplexity and maximize token efficiency, inherently prefer 'average' word lengths (typically 4-6 characters in English). They avoid strings of extremely short, staccato words or overly dense clusters of polysyllabic terminology unless explicitly prompted. This algorithm detects the artificially 'smoothed' and heavily centralized word-length distribution characteristic of probability-driven text generation.

Character-Level Histogram Variance & Skewness Analysis
The algorithm parses the text, strips punctuation, and measures the exact character count of every word. It builds a frequency histogram where the X-axis is the word length (1 to 15+ characters) and the Y-axis is the frequency. It then calculates mathematical properties of this curve, such as variance, skewness, and kurtosis. A human text typically presents a 'lopsided' or multimodal distribution—perhaps heavily skewed toward long words in academic settings, or featuring jagged spikes representing intentional rhythmic choices. An AI text generates a tightly clustered, mathematically perfect bell curve revolving aggressively around the localized language average, indicating a lack of human-like rhythmic or syllabic variance.
Analysis: Variance and Kurtosis of Token Character Counts
Metrics: Word Length Mean, Standard Deviation, and Distribution Skew

Output: 0-100 Distributional Smoothing Score
Moderate — 65-85% accuracy. While not definitive on its own, it is an extremely reliable cross-validation metric. When an AI attempts to fake 'Burstiness' (varying sentence lengths), the Word Length Distribution usually remains stubbornly centralized, betraying the machine origin.
• Extremely fast to compute, as it requires no semantic understanding, API calls, or deep neural network parsing.
• Highly robust against simple synonym-swapping or 'paraphrasing' attacks, because an author attempting to mask AI text rarely pays attention to the mathematical distribution of word lengths.
• Susceptible to false positives in texts artificially constrained by the author, such as plain-language legal summaries, children's books, or SEO-optimized blog posts that intentionally mandate 'simple, short words'.
• Requires a substantial text block (typically >200 words) to form a statistically significant histogram; on micro-texts, the distribution curve is too chaotic to analyze.
Highly diagnostic for evaluating the 'natural flow' of articles, essays, and creative writing. It serves as a foundational stylistic detector, revealing whether the text possesses the erratic, signature syllable-rhythm of a human author or the mathematically smoothed pacing of a machine.