Contents

MLWordTagger

A word-tagging model you train to classify natural language text at the word level.

Declaration

struct MLWordTagger

Mentioned in

Overview

Use an MLWordTagger to create a custom word tagger to identify content that’s relevant for your app, like product names and points of interest.

To use your custom word tagger in the Natural Language framework, save it to a model file and import it into an NLModel. Then add your custom NLModel to an NLTagger with its setModels(_:forTagScheme:) method.

Topics

Creating and training a word tagger

Evaluating a word tagger

Testing a word tagger

Saving a word tagger

Describing a word tagger

Supporting types

Default Implementations

See Also

Text models