Instance Method

initWithTagSchemes:

Creates a linguistic tagger instance using the specified tag schemes and options.

Declaration

- (instancetype)initWithTagSchemes:(NSArray<NLTagScheme> *)tagSchemes;

Parameters

tagSchemes

An array of tag schemes to be used. See NLTagScheme for the possible values.

Discussion

Pass any tag schemes to tagSchemes that you intend to use with the methods described in Enumerating Linguistic Tags and Getting Linguistic Tags.

See Also

Creating a Tagger

string

The string being analyzed by the linguistic tagger.