Class QualityEstimator¶
Defined in File quality_estimator.h
Inheritance Relationships¶
Derived Types¶
public marian::bergamot::LogisticRegressorQualityEstimator
(Class LogisticRegressorQualityEstimator)public marian::bergamot::UnsupervisedQualityEstimator
(Class UnsupervisedQualityEstimator)
Class Documentation¶
-
class
QualityEstimator
¶ Subclassed by marian::bergamot::LogisticRegressorQualityEstimator, marian::bergamot::UnsupervisedQualityEstimator
Public Functions
-
virtual void
computeQualityScores
(const Histories &histories, Response &response) const = 0¶ Computes quality-scores using values from Histories and subword tokens which comes from Response.
- Parameters
[in] histories
: Histories obtained from translating a blob of source-text[in] response
: Partially constructed response, holding tokenization info for source and target. The quality-scores for each sentence obtained from source-text blob are written out as SentenceQualityEstimate into response.
-
virtual void