Tags each input token in the given array.
SDKs
- macOS 10.14+
- Xcode 10.0+
Framework
- Create ML
Declaration
func prediction(from tokens: [MLWord Tagger.Token]) throws -> [String]
Parameters
tokens
An array of tokens to tag.
Return Value
An array of tags for the tokens.