Model Class Reference

#include <reordering_classes.h>

Collaboration diagram for Model:

Collaboration graph
[legend]

List of all members.

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 ModelcreateModel (ModelScore *, const std::string &, const std::string &)


Detailed Description

Definition at line 119 of file reordering_classes.h.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:


Member Function Documentation

void Model::createConstSmoothing ( double  w  ) 

Definition at line 412 of file reordering_classes.cpp.

References Scorer::createConstSmoothing().

Here is the call graph for this function:

static Model* Model::createModel ( ModelScore ,
const std::string &  ,
const std::string &   
) [static]

Referenced by main().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

void Model::score_f ( const std::string &  f  ) 

void Model::score_fe ( const std::string &  f,
const std::string &  e 
)

void Model::zipFile (  ) 


The documentation for this class was generated from the following files:

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