Type Method

supportedRevisions(for:)

Retrieves all version numbers of a word embedding for the given language.

Declaration

class func supportedRevisions(for language: NLLanguage) -> IndexSet

Parameters

language

A language supported by the Natural Language framework.

Return Value

An index set.

See Also

Checking for Natural Language Support

class func currentRevision(for: NLLanguage) -> Int

Retrieves the current version of a word embedding for the given language.