Type Alias


The token type of a word tagger, which is String.


typealias MLWordTagger.Token = String

See Also

Creating and Training a Word Tagger

init(trainingData: [(tokens: [MLWordTagger.Token], labels: [String])], parameters: MLWordTagger.ModelParameters)

Creates a word tagger from a training set in an array of tokens and their labels.

struct MLWordTagger.ModelParameters

Parameters that affect the process of training a model.

let modelParameters: MLWordTagger.ModelParameters

The configuration parameters that the word tagger used for training during initialization.