Language identification

With ML Kit's on-device language identification API, you can determine the language of a string of text.

Language identification can be useful when working with user-provided text, which often doesn't come with any language information. Detect 103 languages with only a couple of words in one to two milliseconds.