---
title: language
framework: naturallanguage
role: symbol
role_heading: Type Property
path: naturallanguage/nltagscheme/language
---

# language

A scheme that supplies the language for a token, if it can determine one.

## Declaration

```swift
static let language: NLTagScheme
```

## Discussion

Discussion Each value for this tag scheme is listed in NLLanguage. The tagger generally attempts to determine the language of text at the level of an entire sentence, paragraph, or document, rather than word by word.

## See Also

### Schemes

- [tokenType](naturallanguage/nltagscheme/tokentype.md)
- [lexicalClass](naturallanguage/nltagscheme/lexicalclass.md)
- [nameType](naturallanguage/nltagscheme/nametype.md)
- [nameTypeOrLexicalClass](naturallanguage/nltagscheme/nametypeorlexicalclass.md)
- [lemma](naturallanguage/nltagscheme/lemma.md)
- [script](naturallanguage/nltagscheme/script.md)
- [sentimentScore](naturallanguage/nltagscheme/sentimentscore.md)
