Struct ResponseOptions¶
Defined in File response_options.h
Struct Documentation¶
-
struct
ResponseOptions
¶ ResponseOptions dictate how to construct a Response for an input string of text to be translated.
Public Members
-
bool
qualityScores
= {false}¶ Include quality-scores or not.
-
bool
alignment
= {false}¶ Include alignments or not.
-
bool
HTML
= {false}¶
-
bool
sentenceMappings
= {false}¶ Remove HTML tags from text and insert in output.
Whether to include sentenceMappings or not. Alignments require sentenceMappings and are available irrespective of this option if
alignment=true
.
-
ConcatStrategy
concatStrategy
= {ConcatStrategy::FAITHFUL}¶
-
bool