supportedSentenceEmbeddingRevisions(for:)
Retrieves all version numbers of a sentence embedding for the given language.
Declaration
class func supportedSentenceEmbeddingRevisions(for language: NLLanguage) -> IndexSetParameters
- 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.