Class: Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document.rb
Overview
Detected language for a structural component.
Instance Attribute Summary collapse
-
#confidence ⇒ ::Float
Confidence of detected language.
-
#language_code ⇒ ::String
The BCP-47 language code, such as
en-US
orsr-Latn
.
Instance Attribute Details
#confidence ⇒ ::Float
Returns Confidence of detected language. Range [0, 1]
.
533 534 535 536 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 533 class DetectedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_code ⇒ ::String
Returns The BCP-47 language code, such as en-US
or sr-Latn
. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
533 534 535 536 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 533 class DetectedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |