mosesdecoder/moses-cmd/mbr.h File Reference

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)


Function Documentation

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  ) 

Definition at line 92 of file mbr.cpp.

void GetOutputFactors ( const Moses::TrellisPath path,
std::vector< const Moses::Factor * > &  translation 
)


Generated on Thu Jun 4 00:30:55 2015 for Moses by  doxygen 1.5.9