#include <cmath>
#include <limits>
#include <list>
#include <boost/unordered_set.hpp>
#include "util/file_piece.hh"
#include "util/tokenize_piece.hh"
#include "BleuScorer.h"
#include "ForestRescore.h"
Go to the source code of this file.
Namespaces | |
namespace | MosesTuning |
Typedefs | |
typedef pair< const Edge *, FeatureStatsType > | MosesTuning::BackPointer |
Functions | |
std::ostream & | MosesTuning::operator<< (std::ostream &out, const WordVec &wordVec) |
void | MosesTuning::Viterbi (const Graph &graph, const SparseVector &weights, float bleuWeight, const ReferenceSet &references, size_t sentenceId, const std::vector< FeatureStatsType > &backgroundBleu, HgHypothesis *bestHypo) |