essence v0.2.0 Essence.Token
This module contains helpful functions around Tokens
Summary
Functions
Calculates the average word length over the given list of tokens
Count the number of syllabels in a token
Determines whether a given token is a polysyllabic, containing more than n syllables, or not
Determines whether a given token is punctuation or not.
Returns true if the token is punctuation, false otherwise
Determines whether a given token is a word or not. Returns true if the
token is a word, false otherwise
Calculates the length of a token as the number of graphemes in that token
Functions
Determines whether a given token is a polysyllabic, containing more than n syllables, or not.
Determines whether a given token is punctuation or not.
Returns true if the token is punctuation, false otherwise.
Determines whether a given token is a word or not. Returns true if the
token is a word, false otherwise.