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
sentenceMappings
= {false}¶ Whether to include sentenceMappings or not.
Alignments require sentenceMappings and are available irrespective of this option if
alignment=true
.
-
float
alignmentThreshold
= {0.2f}¶ Threshold between
[0.0f, 1.0f]
to filter alignments into a sparse matrix.Higher value implies stronger filtering leading to provision of higher-confidence matches.
1.0f
gives argmax (not the full-dense matrix).
-
QualityScoreType
qualityScoreType
= {QualityScoreType::FREE}¶
-
ConcatStrategy
concatStrategy
= {ConcatStrategy::FAITHFUL}¶
-
bool