Instance Method

setModels:forTagScheme:

Assigns models for a tag scheme.

Declaration

- (void)setModels:(NSArray<NLModel *> *)models forTagScheme:(NLTagScheme)tagScheme;

Parameters

models

Array of NLModel objects to be used with this tagger.

tagScheme

The tag scheme the models would be used with.

Discussion

An array of models is allowed for the case where multiple models need to be used. For example, when models were trained on specific languages.

See Also

Using Models with a Tagger

- modelsForTagScheme:

Returns the models that apply to the given tag scheme.