N-Grams Calculator

<-- Enter Phrase
  

How does the N-Grams Calculator work?

Takes a phrase and displays chracter unigrams, character bigrams, character trigrams, and character n-grams as well as word unigrams, word bigrams, word trigrams, and word n-grams. (ngrams)
Also performs frequency analysis (number of instances of each letter)
This calculator has 1 input.

What 4 formulas are used for the N-Grams Calculator?

  1. Unigram = 1 character
  2. Bigrams = 2 characters
  3. Trigrams = 3 characters
  4. n-gram = n characters

For more math formulas, check out our Formula Dossier

What 6 concepts are covered in the N-Grams Calculator?

bigram
Two adjacent elements of letters, symbols, or words
character
a piece of data at least one item long
n-gram
a contiguous sequence of n items from a given sample of text or speech
trigram
a special case of the n-gram, where n is 3
unigram
n-gram of size one
word
a single distinct meaningful element of speech or writing that carries a distinct meaning



N-Grams Calculator Video