Skip to content

Language Identification Overview

Tua Rua edited this page Mar 31, 2019 · 3 revisions

The contents of this page are based on the original Firebase Documentation

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.

This is a beta release of ML Kit for Firebase. This API might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy.

Key capabilities

Broad language support Identifies over a hundred different languages. See the complete list.
Romanized text support Identifies Arabic, Bulgarian, Greek, Hindi, Japanese, Russian, and Chinese text in both native and romanized script.

Example results

Simple language identification
"My hovercraft is full of eels." en
"ph'nglui mglw'nafh TensorFlow Google wgah'nagl fhtagn" und
Confidence distribution
"an amicable coup d'etat" en (0.52)
fr (0.44)
ca (0.03)
Clone this wiki locally