N-gram frequency analyser
Find repeated word phrases or character sequences in local text.
A clear answer. Here’s how.
Counts overlapping windows of length 2–5 across at most 100,000 characters. Word mode lowercases and extracts Unicode letters/numbers with internal apostrophes, ignoring punctuation boundaries; character mode includes exact whitespace and case. Sorts frequency descending, then lexical spelling. Percentages use all windows, not just top results. Does not perform linguistic segmentation or semantic phrase extraction.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- Your text
- The small blue boat crossed the blue lake. A small boat waited by the shore.
- Sequence units
- Word tokens
- N-gram length
- 2
- Maximum displayed/exported rows
- 100
Example result
| N-gram | Count | Share of windows (%) |
|---|---|---|
| a small | 1 | 7.14285714286 |
| blue boat | 1 | 7.14285714286 |
| blue lake | 1 | 7.14285714286 |
| boat crossed | 1 | 7.14285714286 |
| boat waited | 1 | 7.14285714286 |
14 distinct overlapping n-grams across 14 windows. Word mode uses lowercase Unicode letter/number tokens; character mode retains code points and whitespace.