predictions(from:)
Classifies an array of strings with labels.
Declaration
func predictions(from texts: [String]) throws -> [String]Parameters
- texts:
The array of strings to be classified.
Return Value
An array of labels for the given strings.
Classifies an array of strings with labels.
func predictions(from texts: [String]) throws -> [String]The array of strings to be classified.
An array of labels for the given strings.