/disk4/html/www/moses/doxygen/mosesdecoder/moses/mbr.h File Reference

#include "moses/parameters/AllOptions.h"

Go to the source code of this file.

Functions

Moses::TrellisPath const doMBR (Moses::TrellisPathList const &nBestList, Moses::AllOptions const &opts)
void GetOutputFactors (const Moses::TrellisPath &path, Moses::FactorType const f, 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 
)

Moses::TrellisPath const doMBR ( Moses::TrellisPathList const &  nBestList,
Moses::AllOptions const &  opts 
)

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


Generated on Thu Jul 6 00:31:30 2017 for Moses by  doxygen 1.5.9