Class: Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentencePair
- 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
-
#source_sentence ⇒ ::String
Source sentence in the sentence pair.
-
#target_sentence ⇒ ::String
Target sentence in the sentence pair.
Instance Attribute Details
#source_sentence ⇒ ::String
Returns 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.
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 |