google_api_document_ai v0.2.0 GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentTranslation View Source
A translation of the text segment.
Attributes
-
languageCode(type:String.t, default:nil) - The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. -
textAnchor(type:GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentTextAnchor.t, default:nil) - Provenance of the translation. Text anchor indexing into the Document.text. -
translatedText(type:String.t, default:nil) - Text translated into the target language.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() ::
%GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentTranslation{
languageCode: String.t(),
textAnchor:
GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentTextAnchor.t(),
translatedText: String.t()
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.