#include <reordering_classes.h>
Public Member Functions | |
Model (ModelScore *ms, Scorer *sc, const std::string &dir, const std::string &lang, const std::string &fn) | |
~Model () | |
void | createSmoothing (double w) |
void | createConstSmoothing (double w) |
void | score_fe (const std::string &f, const std::string &e) |
void | score_f (const std::string &f) |
void | zipFile () |
Static Public Member Functions | |
static Model * | createModel (ModelScore *, const std::string &, const std::string &) |
Definition at line 119 of file reordering_classes.h.
Model::Model | ( | ModelScore * | ms, | |
Scorer * | sc, | |||
const std::string & | dir, | |||
const std::string & | lang, | |||
const std::string & | fn | |||
) |
Model::~Model | ( | ) |
Definition at line 366 of file reordering_classes.cpp.
References Moses::OutputFileStream::Close().
void Model::createConstSmoothing | ( | double | w | ) |
Definition at line 412 of file reordering_classes.cpp.
References Scorer::createConstSmoothing().
static Model* Model::createModel | ( | ModelScore * | , | |
const std::string & | , | |||
const std::string & | ||||
) | [static] |
void Model::createSmoothing | ( | double | w | ) |
Definition at line 406 of file reordering_classes.cpp.
References Scorer::createSmoothing(), ModelScore::get_scores_fe_next(), and ModelScore::get_scores_fe_prev().
void Model::score_f | ( | const std::string & | f | ) |
void Model::score_fe | ( | const std::string & | f, | |
const std::string & | e | |||
) |
void Model::zipFile | ( | ) |