prediction(from:)
Classifies a string with a label.
Declaration
func prediction(from text: String) throws -> StringParameters
- text:
The string to be classified.
Return Value
The label for the given string.
Classifies a string with a label.
func prediction(from text: String) throws -> StringThe string to be classified.
The label for the given string.