Enumeration Case


A feature extractor that uses the standard, built-in word embeddings.


case staticEmbedding


The standard word embeddings are the same as those that NLEmbedding provides with its wordEmbedding(for:) method.

See Also

Selecting a Feature Extractor Type

case dynamicEmbedding

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

case customEmbedding(URL)

A feature extractor that uses an embedding you provide, contained within a model file.