Class QualityEstimator

Inheritance Relationships

Derived Types

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.