Creates a linguistic tagger instance using the specified tag schemes and options.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- Natural Language
Declaration
- (instancetype)initWithTagSchemes:(NSArray<NLTag Scheme> *)tagSchemes;
Parameters
tagSchemes
An array of tag schemes to be used. See
NLTag
for the possible values.Scheme
Discussion
Pass any tag schemes to tagSchemes that you intend to use with the methods described in Enumerating Linguistic Tags and Getting Linguistic Tags.
Tip
Avoid specifying tag schemes that you won't use to ensure optimal performance.