This is a tool that allows you to generate frequency tables of letters or other substrings from some text.
You can access the online demo and see the tool in action at adamimoka.github.io/character-counter.
The tool offers a variety of options in generating the frequency table.
Below is a description of each option:
- Text: Type text into the textbox
- Link: Input link to a raw file
- File: Select a local file
- Sample: Select a sample file
- All characters: Counts all non-whitespace characters
- Alphanumeric: Only counts letters and numbers, no punctuation or other symbols
- Case sensitive letters: Counts letters, while counting uppercase and lowercase separately
- Case insensitive letters: Counts letters, while counting uppercase and lowercase the same
- Letters: Counts single letters
- Bigrams: Counts bigrams (pairs of two consecutive letters)
- Trigrams: Counts trigrams (triplets of three consecutive letters)
- Alphabetical (A->Z) / (Z->A): Sorted alphabetically in forward or reverse order
- Frequency (Most->Least Frequent) / (Least->Most Frequent): Sorted by frequency in descending or ascending order
- Appearance (First->Last) / (Last->First): Sorted by order in which the strings appear in the text forwards or backwards
- Random 🎲: Sorted randomly, re-randomizes each time the button is pressed