Contents

supportedSentenceEmbeddingRevisions(for:)

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

Declaration

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

Parameters

  • language:

    A language supported by the Natural Language framework. For possible values, see Nllanguage.

Return Value

An index set representing all of the supported version numbers of the sentence embedding.

See Also

Checking for Natural Language support