Type Method

dominantLanguageForString:

Finds the most likely language of a piece of text.

Declaration

+ (NLLanguage)dominantLanguageForString:(NSString *)string;

Parameters

string

The text to analyze.

Return Value

The most probable language of the piece of text.

See Also

Determining the Language

- processString:

Analyzes the piece of text to determine its dominant language.

dominantLanguage

The most likely language for the processed text.

- languageHypothesesWithMaximum:

Generates the probabilities of possible languages for the processed text.

- reset

Resets the recognizer to its initial state.