public static interface Document.Page.DetectedLanguageOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getConfidence()
Confidence of detected language.
|
String |
getLanguageCode()
The [BCP-47 language
code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier),
such as `en-US` or `sr-Latn`.
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
The [BCP-47 language
code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier),
such as `en-US` or `sr-Latn`.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getLanguageCode()
The [BCP-47 language code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
string language_code = 1;com.google.protobuf.ByteString getLanguageCodeBytes()
The [BCP-47 language code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
string language_code = 1;float getConfidence()
Confidence of detected language. Range `[0, 1]`.
float confidence = 2;Copyright © 2023 Google LLC. All rights reserved.