Skip to content

Adamimoka/character-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Character Counter

What is this?

This is a tool that allows you to generate frequency tables of letters or other substrings from some text.

How to Use

You can access the online demo and see the tool in action at adamimoka.github.io/character-counter.

Options

The tool offers a variety of options in generating the frequency table.
Below is a description of each option:

Input Type - How the text is inputted

  • Text: Type text into the textbox
  • Link: Input link to a raw file
  • File: Select a local file
  • Sample: Select a sample file

Characters to count - Which types of characters will be counted

  • 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

Count mode - What type of strings to count

  • Letters: Counts single letters
  • Bigrams: Counts bigrams (pairs of two consecutive letters)
  • Trigrams: Counts trigrams (triplets of three consecutive letters)

Sort mode - How the result table is sorted

  • 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

Releases

No releases published

Packages

 
 
 

Contributors