---
title: dominantLanguage
framework: naturallanguage
role: symbol
role_heading: Instance Property
path: naturallanguage/nllanguagerecognizer/dominantlanguage
---

# dominantLanguage

The most likely language for the processed text.

## Declaration

```swift
var dominantLanguage: NLLanguage? { get }
```

## Mentioned in

Identifying the language in text

## See Also

### Determining the language

- [dominantLanguage(for:)](naturallanguage/nllanguagerecognizer/dominantlanguage(for:).md)
- [processString(_:)](naturallanguage/nllanguagerecognizer/processstring(_:).md)
- [languageHypotheses(withMaximum:)](naturallanguage/nllanguagerecognizer/languagehypotheses(withmaximum:).md)
- [reset()](naturallanguage/nllanguagerecognizer/reset().md)
