getMaxLanguages

public final int getMaxLanguages()

Maximum number of languages to report from offline language detection. The default, 1, reports only the dominant language (no language mixing). Raise it (e.g. 2) to detect multiple languages in one document, including two languages that share a script (such as English + French).

Return

The value of the MaxLanguages property.