Global Variable

NSLinguisticTagSchemeTokenType

Classifies tokens according to their broad type: word, punctuation, or whitespace.

Declaration

const NSLinguisticTagScheme NSLinguisticTagSchemeTokenType;

Discussion

For possible values, see Token Types.

To classify tokens by a more specific type, for example, distinguishing words between nouns and verbs, use the NSLinguisticTagSchemeLexicalClass scheme.

See Also

Schemes

NSLinguisticTagSchemeLexicalClass

Classifies tokens according to class: part of speech, type of punctuation, or whitespace.

NSLinguisticTagSchemeNameType

Classifies tokens according to whether they are part of a named entity.

NSLinguisticTagSchemeNameTypeOrLexicalClass

Classifies tokens corresponding to names according to NSLinguisticTagSchemeNameType, and classifies all other tokens according to NSLinguisticTagSchemeLexicalClass.

NSLinguisticTagSchemeLemma

Supplies a stem form of a word token, if known.

NSLinguisticTagSchemeLanguage

Supplies the language for a token, if one can be determined.

NSLinguisticTagSchemeScript

Supplies the script for a token, if one can be determined.