Type Method

wordEmbeddingForLanguage:revision:

Retrieves a word embedding for a given language and revision.

Declaration

+ (NLEmbedding *)wordEmbeddingForLanguage:(NLLanguage)language revision:(NSUInteger)revision;

Parameters

language

The language of the word embedding, such as NLLanguageFrench.

revision

The revision of the word embedding.

Return Value

An NLEmbedding if available, otherwise nil.

See Also

Creating a Word Embedding

+ wordEmbeddingForLanguage:

Retrieves a word embedding for a given language.

+ embeddingWithContentsOfURL:error:

Creates a word embedding from a model file.