predictions(from:)
Predicts sequences of labels, token locations, and token lengths from the input strings.
Declaration
func predictions<S>(from texts: S) throws -> DataFrame where S : Sequence, S.Element == StringParameters
- texts:
A sequence of strings to tokenize and tag.
Return Value
A DataFrame containing predicted labels, token locations, and token lengths.