Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage (v0.19.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage.

Detected language for a structural component.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Confidence of detected language. Range [0, 1].

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — Confidence of detected language. Range [0, 1].
Returns
  • (::Float) — Confidence of detected language. Range [0, 1].

#language_code

def language_code() -> ::String
Returns

#language_code=

def language_code=(value) -> ::String
Parameter
Returns