mosesdecoder/moses-chart-cmd/mbr.h File Reference

#include <vector>
#include <map>
#include "moses/TrellisPathList.h"
#include "moses/TrellisPath.h"
#include "moses/Factor.h"

Go to the source code of this file.

Functions

std::vector< const
Moses::Factor * > 
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 
)

std::vector<const Moses::Factor*> doMBR ( const Moses::TrellisPathList nBestList  ) 

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