Zipf & Heap
— Text Law Analyzer
Input Text
type to analyze in realtime
Preprocessing
Lowercase
Remove stopwords
Remove numbers
Stemming
Strip punctuation
min len
Load Sample
Clear
Zipf's Law
Heap's Law
Tokens
—
Vocabulary
—
Slope (s)
—
R²
—
Top Words
—
Rank
Word
Freq
f × r
No data yet
Log–Log Plot
rank → freq
Observed
Zipf fit
Tokens (N)
—
Vocab (V)
—
K
—
β
—
Sample Points
—
N
V(N)
K·N^β
Δ%
No data yet
Vocabulary vs Tokens
N → V
Observed
K · N^β