Contents

prediction(from:)

Predicts a tag for the input string.

Declaration

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

Parameters

  • text:

    The string to tag.

Return Value

An array of tags for the tokens in the string.

See Also

Testing a word tagger