NSLinguisticTagScheme Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates classes of tags that are returned from a text classifier.
public enum NSLinguisticTagScheme
type NSLinguisticTagScheme =
- Inheritance
-
NSLinguisticTagScheme
Fields
Language | 5 | Indicates that tokens will be tagged with their language, if known. |
Lemma | 4 | Indicates that tokens will be tagged with their stem, if known. |
LexicalClass | 1 | Indicates that tokens will be returned for whether they are part of speech or whitespace, or their punctuation type if they are punctuation. |
Name | 2 | Indicates that tokens will be tagged as names of which they are a part. |
NameOrLexicalClass | 3 | Indicates that tokens will be tagged those tags indicated by LexicalClass and Name. |
Script | 6 | Indicates that tokens will be tagged with the script in which they were written. |
Token | 0 | Indicates that tokens will be tagged with information about whether they are words, whitespace, or punctuation. |