<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLWordTagger/predictions(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML12MLWordTaggerV11predictions4from11TabularData0H5FrameVx_tKSTRzSS7ElementRtzlF::OverloadGroup"
  },
  "title" : "predictions(from:)"
}
-->

# predictions(from:)

Predicts sequences of labels, token locations, and token lengths from the input strings.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)