A token, lexical class, name, lemma, language, or script returned by a linguistic tagger for natural language text.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
Framework
- Foundation
Declaration
typedef NSString *NSLinguisticTag;
Discussion
When you create a linguistic tagger, you specify one or more NSLinguistic
constants that correspond to the kind of information you want to know about a selection of natural language text. When working with linguistic tags using the methods described in Getting Linguistic Tags and Enumerating Linguistic Tags, the returned value depends on the specified scheme. The NSLinguistic
type represents the constant values that can be returned for certain NSLinguistic
values.