Cloud Translation V3 API - Class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair (v1.2.0)

Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair.

A pair of sentences used as reference in source and target languages.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#source_sentence

def source_sentence() -> ::String
Returns
  • (::String) — Source sentence in the sentence pair.

#source_sentence=

def source_sentence=(value) -> ::String
Parameter
  • value (::String) — Source sentence in the sentence pair.
Returns
  • (::String) — Source sentence in the sentence pair.

#target_sentence

def target_sentence() -> ::String
Returns
  • (::String) — Target sentence in the sentence pair.

#target_sentence=

def target_sentence=(value) -> ::String
Parameter
  • value (::String) — Target sentence in the sentence pair.
Returns
  • (::String) — Target sentence in the sentence pair.