Go to the source code of this file.
Functions | |
const Moses::TrellisPath | doMBR (const Moses::TrellisPathList &nBestList) |
void | GetOutputFactors (const Moses::TrellisPath &path, std::vector< const Moses::Factor * > &translation) |
float | calculate_score (const std::vector< std::vector< const Moses::Factor * > > &sents, int ref, int hyp, std::vector< std::map< std::vector< const Moses::Factor * >, int > > &ngram_stats) |
float calculate_score | ( | const std::vector< std::vector< const Moses::Factor * > > & | sents, | |
int | ref, | |||
int | hyp, | |||
std::vector< std::map< std::vector< const Moses::Factor * >, int > > & | ngram_stats | |||
) |
const Moses::TrellisPath doMBR | ( | const Moses::TrellisPathList & | nBestList | ) |
void GetOutputFactors | ( | const Moses::TrellisPath & | path, | |
std::vector< const Moses::Factor * > & | translation | |||
) |