Class: Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentenceConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentenceConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/adaptive_mt.rb
Overview
Message of caller-provided reference configuration.
Instance Attribute Summary collapse
-
#reference_sentence_pair_lists ⇒ ::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList>
Reference sentences pair lists.
-
#source_language_code ⇒ ::String
Source language code.
-
#target_language_code ⇒ ::String
Target language code.
Instance Attribute Details
#reference_sentence_pair_lists ⇒ ::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList>
Returns 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.
186 187 188 189 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 186 class ReferenceSentenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#source_language_code ⇒ ::String
Returns Source language code.
186 187 188 189 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 186 class ReferenceSentenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#target_language_code ⇒ ::String
Returns Target language code.
186 187 188 189 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 186 class ReferenceSentenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |