FirebaseVisionCloudText.DetectedLanguage

public static class FirebaseVisionCloudText.DetectedLanguage extends Object

Detected language for a structural component.

Public Method Summary

float
getConfidence()
Gets confidence of detected language.
String
getLanguageCode()
The BCP-47 language code, such as "en-US" or "sr-Latn".

Inherited Method Summary

Public Methods

public float getConfidence ()

Gets confidence of detected language. Range [0.0f, 1.0f].

public String getLanguageCode ()

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see Unicode Locale Identifier