---
title: "supportedRevisions(for:)"
framework: naturallanguage
role: symbol
role_heading: Type Method
path: "naturallanguage/nlembedding/supportedrevisions(for:)"
---

# supportedRevisions(for:)

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

## Declaration

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

## Parameters

- `language`: A language supported by the Natural Language framework.

## Return Value

Return Value An index set.

## See Also

### Checking for Natural Language support

- [currentRevision(for:)](naturallanguage/nlembedding/currentrevision(for:).md)
- [currentSentenceEmbeddingRevision(for:)](naturallanguage/nlembedding/currentsentenceembeddingrevision(for:).md)
- [supportedSentenceEmbeddingRevisions(for:)](naturallanguage/nlembedding/supportedsentenceembeddingrevisions(for:).md)
