<!--
{
  "availability" : [
    "iOS: 15.0.0 - 17.0.0",
    "iPadOS: 15.0.0 - 17.0.0",
    "macCatalyst: 15.0.0 - 17.0.0",
    "macOS: 10.15.0 - 14.0.0",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLTextClassifier/FeatureExtractorType/dynamicEmbedding",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML16MLTextClassifierV20FeatureExtractorTypeO16dynamicEmbeddingyA2EmF"
  },
  "title" : "MLTextClassifier.FeatureExtractorType.dynamicEmbedding"
}
-->

# MLTextClassifier.FeatureExtractorType.dynamicEmbedding

A feature extractor that provides embeddings for words, based on their in-context use.

```
case dynamicEmbedding
```

## Discussion

Dynamic embedding requires certain downloadable assets to be present on device at training time.
Training will throw an error if the specified language is unavailable at runtime. Asset downloads are
managed in the background automatically by the OS when a new language is configured in device
settings, such as when adding a new keyboard language or changing the preferred language.

---

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)