#include <ForestRescore.h>

Public Member Functions | |
| HgBleuScorer (const ReferenceSet &references, const Graph &graph, size_t sentenceId, const std::vector< FeatureStatsType > &backgroundBleu) | |
| FeatureStatsType | Score (const Edge &edge, const Vertex &head, std::vector< FeatureStatsType > &bleuStats) |
| void | UpdateState (const Edge &winnerEdge, size_t vertexId, const std::vector< FeatureStatsType > &bleuStats) |
Definition at line 87 of file ForestRescore.h.
| MosesTuning::HgBleuScorer::HgBleuScorer | ( | const ReferenceSet & | references, | |
| const Graph & | graph, | |||
| size_t | sentenceId, | |||
| const std::vector< FeatureStatsType > & | backgroundBleu | |||
| ) | [inline] |
Definition at line 90 of file ForestRescore.h.
References MosesTuning::Graph::GetVertex(), and MosesTuning::Graph::VertexSize().

| FeatureStatsType MosesTuning::HgBleuScorer::Score | ( | const Edge & | edge, | |
| const Vertex & | head, | |||
| std::vector< FeatureStatsType > & | bleuStats | |||
| ) |
| void MosesTuning::HgBleuScorer::UpdateState | ( | const Edge & | winnerEdge, | |
| size_t | vertexId, | |||
| const std::vector< FeatureStatsType > & | bleuStats | |||
| ) |
1.5.9