Class: Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/translate/v3/adaptive_mt.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#source_sentence::String

Returns Source sentence in the sentence pair.

Returns:

  • (::String)

    Source sentence in the sentence pair.



159
160
161
162
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 159

class ReferenceSentencePair
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_sentence::String

Returns Target sentence in the sentence pair.

Returns:

  • (::String)

    Target sentence in the sentence pair.



159
160
161
162
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 159

class ReferenceSentencePair
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end