Returns the length of the n-gram in characters. This does not account for whitespace.
Returns the position (in units of character) at which this n-gram appears in the sentence.
Returns the n-gram key
Returns the n-gram lemma-based key
Returns the length of the sentence (in units of character) in which this n-gram occurs. This includes whitespace in the sentence
Returns the length of the sentence (in units of {@link Token}) in which this n-gram occurs.
Returns the length of the n-gram in {@link Token}'s
Returns the position (in units of {@link Token} ) at which this n-gram appears in the sentence.
Caches the keys if they have not already been generated
Checks if two n-grams are equal
Returns the tokens in this n-gram
Checks if this n-gram contains two tokens
Checks if this n-grams is an empty placeholder
Checks if this n-gram contains three tokens
Checks if this n-gram contains one token
Checks if two n-grams look the same
Outputs the n-gram to json
print full metadata
Returns the n-gram key
Generated using TypeDoc
Represents a set of zero or more tokens from a text.