Contents

prediction(from:)

Predicts the label for the given term.

Declaration

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

Parameters

  • text:

    The input term.

Return Value

A label.

See Also

Testing a gazetteer