Class ReferenceSentenceConfig (3.18.0)

ReferenceSentenceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message of caller-provided reference configuration.

Attributes

Name Description
reference_sentence_pair_lists MutableSequence[google.cloud.translate_v3.types.AdaptiveMtTranslateRequest.ReferenceSentencePairList]
Reference sentences pair lists. Each list will be used as the references to translate the sentence under "content" field at the corresponding index. Length of the list is required to be equal to the length of "content" field.
source_language_code str
Source language code.
target_language_code str
Target language code.