Global Variable

NSLinguisticTagSchemeScript

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

Declaration

const NSLinguisticTagScheme NSLinguisticTagSchemeScript;

Discussion

Each value for this tag scheme is an ISO 15924 script identifier. For example, the identifier for Latin script is "Latn" and the identifier for Simplified Chinese script is "Hans". The identifier "Zyyy" is used if a specific script cannot be determined.

See Also

Schemes

NSLinguisticTagSchemeTokenType

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

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.