Technical documentation writers, copywriters, and content marketers must balance strict length constraints, estimated reading times, and keyword distribution across publications.
The Content Analyzer performs deep client-side linguistic evaluation in real time as you write or paste text, computing statistical breakdowns with zero latency.
1. Key Metrics & Linguistic Formulas
TERMINAL // CODE
┌─────────────────────────────────────────────────────────────┐
│ • Total Words: Tokenized whitespace & hyphen words│
│ • Total Characters: With and without whitespace │
│ • Sentences & Paras: Terminal punctuation (. ! ?) │
│ • Reading Time: Calculated at 200 words / minute │
│ • Speaking Time: Calculated at 130 words / minute │
│ • Top Keyword Density: Unigram frequency analysis │
└─────────────────────────────────────────────────────────────┘
A. Word & Character Tokenization
- Words: Counted using Unicode-aware regular expression boundaries (
/\b\w+\b/u). Hyphenated compound words can be counted together or separately. - Characters (With Spaces): Exact UTF-16 code units (essential for SMS limits, Twitter/X thresholds).
- Characters (Without Spaces): Excludes
\swhitespace characters to measure pure typographic density.
B. Estimated Reading & Speaking Velocities
- Reading Time: Calculated assuming the adult standard reading rate of 200 words per minute (WPM):
TERMINAL // CODE
Reading Time (minutes) = Total Words / 200
- Speaking Time: Calculated assuming standard presentation speech velocity of 130 words per minute (WPM):
TERMINAL // CODE
Speaking Time (minutes) = Total Words / 130
C. N-Gram Keyword Frequency & Density
Identifies repeated terminology and calculates percentage weight:
TERMINAL // CODE
Density (%) = (Frequency of Word / Total Words) * 100
Words appearing on standard English stopword lists ("the", "is", "at", "which") can be toggled out to highlight meaningful topical keywords.
2. Step-by-Step Workflow
- Paste your article draft, README, or blog post into the analyzer text area.
- Review the upper statistical scoreboard for instant totals.
- Inspect the Keyword Frequency Table to identify overused words or verify that target SEO keywords appear at the desired density (typically 1.5% to 3.0%).
- All calculations execute locally in volatile memory; your unpublished drafts are never sent to external servers.