Contents

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 == String

Parameters

  • texts:

    A sequence of strings to tokenize and tag.

Return Value

A DataFrame containing predicted labels, token locations, and token lengths.

See Also

Testing a word tagger