objectLexicalPropertiesTagger extends TokenTagger with Product with Serializable
The LexicalPropertiesTagger tags a token with a set of lexical characteristics.
Specifically, a token gets the tag:
- TokenTag('lexical, 'firstCap) if its first character is a capital letter
- TokenTag('lexical, 'existsCap) if any character is a capital letter
- TokenTag('lexical, 'allCaps) if all characters are capital letters
- TokenTag('lexical, 'existsNum) if it contains a digit
Linear Supertypes
Serializable, Serializable, Product, Equals, TokenTagger, AnyRef, Any
The LexicalPropertiesTagger tags a token with a set of lexical characteristics.
Specifically, a token gets the tag: - TokenTag('lexical, 'firstCap) if its first character is a capital letter - TokenTag('lexical, 'existsCap) if any character is a capital letter - TokenTag('lexical, 'allCaps) if all characters are capital letters - TokenTag('lexical, 'existsNum) if it contains a digit