#include <NBestOptions.h>
Public Member Functions | |
bool | init (Parameter const ¶m) |
bool | update (std::map< std::string, xmlrpc_c::value >const ¶m) |
NBestOptions () | |
Public Attributes | |
size_t | nbest_size |
size_t | factor |
bool | enabled |
bool | print_trees |
bool | only_distinct |
bool | include_alignment_info |
bool | include_segmentation |
bool | include_feature_labels |
bool | include_passthrough |
bool | include_all_factors |
std::string | output_file_path |
Definition at line 8 of file NBestOptions.h.
Moses::NBestOptions::NBestOptions | ( | ) |
Definition at line 9 of file NBestOptions.cpp.
bool Moses::NBestOptions::init | ( | Parameter const & | param | ) |
Definition at line 25 of file NBestOptions.cpp.
References enabled, factor, Moses::Parameter::GetParam(), include_alignment_info, include_all_factors, include_feature_labels, include_passthrough, include_segmentation, nbest_size, only_distinct, output_file_path, params, print_trees, and Moses::Parameter::SetParameter().
Referenced by Moses::AllOptions::init().
bool Moses::NBestOptions::update | ( | std::map< std::string, xmlrpc_c::value >const & | param | ) |
Definition at line 68 of file NBestOptions.cpp.
Definition at line 12 of file NBestOptions.h.
Referenced by Moses::ChartHypothesisCollection::ChartHypothesisCollection(), init(), and Moses::AllOptions::sanity_check().
size_t Moses::NBestOptions::factor |
Definition at line 16 of file NBestOptions.h.
Referenced by init(), and Moses::Manager::OutputNBest().
Definition at line 21 of file NBestOptions.h.
Referenced by init(), and Moses::Manager::OutputNBest().
Definition at line 17 of file NBestOptions.h.
Referenced by init(), and Moses::Manager::OutputNBest().
Definition at line 10 of file NBestOptions.h.
Referenced by Moses::ChartHypothesis::CleanupArcList(), init(), Moses::Manager::OutputNBest(), and Moses::AllOptions::sanity_check().
Definition at line 14 of file NBestOptions.h.
Referenced by Moses::ChartHypothesis::CleanupArcList(), init(), Moses::AllOptions::NBestDistinct(), and Moses::Manager::OutputNBest().
std::string Moses::NBestOptions::output_file_path |