Instance Method

predictions(from:)

Tags each string in the given column.

Declaration

func predictions(from texts: MLDataColumn<String>) throws -> MLDataTable

Parameters

texts

The data column of strings to be tagged.

Return Value

A data table containing the tags for each string in the column.

See Also

Testing a Word Tagger

func prediction(from: [MLWordTagger.Token]) -> [String]

Tags each input token in the given array.

func prediction(from: String) -> [String]

Tags each token in the given string.