Edit

Share via


NLTagScheme Enum

Definition

Enumerates classes of tags that are returned from a text classifier.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum NLTagScheme
type NLTagScheme = 
Inheritance
NLTagScheme
Attributes

Fields

Name Value Description
TokenType 0

Indicates that tokens will be tagged with information about whether they are words, whitespace, or punctuation.

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.

NameType 2

Indicates that tokens will be tagged with the type of name of which they are a part. (For example, part of a personal name.)

NameTypeOrLexicalClass 3

Indicates that tokens will be tagged those tags indicated by LexicalClass and NameType.

Lemma 4

Indicates that tokens will be tagged with their stem, if known.

Language 5

Indicates that tokens will be tagged with their language, if known.

Script 6

Indicates that tokens will be tagged with the script in which they were written.

Applies to