pdb.ngram(2,5) will generate tokens of size 2, 3, 4, and 5.
To generate grams of a single fixed length, set the minimum and maximum gram size equal to each other.
Expected Response
Ngram Prefix Only
The generate ngram tokens for only the firstn characters in the text, set prefix_only to true.
Expected Response