Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePairList.
A list of reference sentence pairs.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#reference_sentence_pairs
def reference_sentence_pairs() -> ::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair>
Returns
- (::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair>) — Reference sentence pairs.
#reference_sentence_pairs=
def reference_sentence_pairs=(value) -> ::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair>
Parameter
- value (::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair>) — Reference sentence pairs.
Returns
- (::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair>) — Reference sentence pairs.