Contents

predictedLabels(forTokens:)

Predicts a label for each string in the given array.

Declaration

func predictedLabels(forTokens tokens: [String]) -> [String]

Parameters

  • tokens:

    An array of input strings for the model to analyze.

Return Value

The model’s predicted labels for each of the input strings.

See Also

Making predictions