Contents

wordEmbedding(for:revision:)

Retrieves a word embedding for a given language and revision.

Declaration

class func wordEmbedding(for language: NLLanguage, revision: Int) -> NLEmbedding?

Parameters

  • language:

    The language of the word embedding, such as French.

  • revision:

    The revision of the word embedding.

Return Value

An NLEmbedding if available, otherwise nil.

See Also

Creating a word embedding