Type Method

currentRevision(for:)

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

Declaration

class func currentRevision(for language: NLLanguage) -> Int

Parameters

language

A language supported by the Natural Language framework.

Return Value

An integer.

See Also

Checking for Natural Language Support

class func supportedRevisions(for: NLLanguage) -> IndexSet

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