A scheme that classifies tokens according to class: part of speech, type of punctuation, or whitespace.
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+Beta
- tvOS 12.0+
- watchOS 5.0+
- Natural Language
For possible values, see Lexical Classes.
The lexical class of a tag is a further distinction of its token type. Token types and lexical classes have the following correspondence: