---
title: "availableTagSchemes(for:language:)"
framework: naturallanguage
role: symbol
role_heading: Type Method
path: "naturallanguage/nltagger/availabletagschemes(for:language:)"
---

# availableTagSchemes(for:language:)

Retrieves the tag schemes available for a particular unit (like word or sentence) and language on the current device.

## Declaration

```swift
class func availableTagSchemes(for unit: NLTokenUnit, language: NLLanguage) -> [NLTagScheme]
```

## Parameters

- `unit`: The linguistic unit. For possible values, see doc://com.apple.naturallanguage/documentation/NaturalLanguage/NLTokenUnit.
- `language`: The doc://com.apple.naturallanguage/documentation/NaturalLanguage/NLLanguage identifying the language.

## Return Value

Return Value The supported tag schemes. For possible values, see NLTagScheme.

## See Also

### Getting the tag schemes

- [requestAssets(for:tagScheme:completionHandler:)](naturallanguage/nltagger/requestassets(for:tagscheme:completionhandler:).md)
- [NLTagger.AssetsResult](naturallanguage/nltagger/assetsresult.md)
- [tagSchemes](naturallanguage/nltagger/tagschemes.md)
- [NLTagScheme](naturallanguage/nltagscheme.md)
