#include <AllOptions.h>
Public Types | |
typedef boost::shared_ptr < AllOptions const > | ptr |
Public Member Functions | |
bool | init (Parameter const ¶m) |
bool | sanity_check () |
AllOptions () | |
AllOptions (Parameter const ¶m) | |
bool | update (std::map< std::string, xmlrpc_c::value >const ¶m) |
bool | NBestDistinct () const |
Public Attributes | |
SearchOptions | search |
CubePruningOptions | cube |
NBestOptions | nbest |
ReorderingOptions | reordering |
ContextParameters | context |
InputOptions | input |
MBR_Options | mbr |
LMBR_Options | lmbr |
ReportingOptions | output |
OOVHandlingOptions | unk |
SyntaxOptions | syntax |
bool | mira |
bool | use_legacy_pt |
Definition at line 21 of file AllOptions.h.
typedef boost::shared_ptr<AllOptions const> Moses::AllOptions::ptr |
Definition at line 24 of file AllOptions.h.
Moses::AllOptions::AllOptions | ( | ) |
Definition at line 7 of file AllOptions.cpp.
Moses::AllOptions::AllOptions | ( | Parameter const & | param | ) |
Definition at line 13 of file AllOptions.cpp.
References init().
bool Moses::AllOptions::init | ( | Parameter const & | param | ) |
Definition at line 20 of file AllOptions.cpp.
References context, cube, Moses::SyntaxOptions::init(), Moses::OOVHandlingOptions::init(), Moses::ReportingOptions::init(), Moses::LMBR_Options::init(), Moses::MBR_Options::init(), Moses::InputOptions::init(), Moses::ContextParameters::init(), Moses::ReorderingOptions::init(), Moses::NBestOptions::init(), Moses::CubePruningOptions::init(), Moses::SearchOptions::init(), input, lmbr, mbr, mira, nbest, output, reordering, sanity_check(), search, Moses::Parameter::SetParameter(), syntax, and unk.
Referenced by AllOptions().
bool Moses::AllOptions::NBestDistinct | ( | ) | const |
Definition at line 113 of file AllOptions.cpp.
References Moses::LMBR_Options::enabled, Moses::MBR_Options::enabled, Moses::ReportingOptions::lattice_sample_size, lmbr, mbr, nbest, Moses::NBestOptions::only_distinct, output, Moses::ReportingOptions::SearchGraph, Moses::ReportingOptions::SearchGraphExtended, Moses::ReportingOptions::SearchGraphHG, and Moses::ReportingOptions::SearchGraphSLF.
bool Moses::AllOptions::sanity_check | ( | ) |
Definition at line 41 of file AllOptions.cpp.
References Moses::SearchOptions::consensus, Moses::NBestOptions::enabled, Moses::MBR_Options::enabled, Moses::LMBR_Options::enabled, input, Moses::InputOptions::input_type, Moses::ReportingOptions::lattice_sample_size, lmbr, mbr, mira, nbest, Moses::NBestOptions::nbest_size, output, Moses::ReportingOptions::RecoverPath, search, Moses::ReportingOptions::SearchGraph, Moses::ReportingOptions::SearchGraphExtended, Moses::ReportingOptions::SearchGraphHG, Moses::ReportingOptions::SearchGraphPB, Moses::ReportingOptions::SearchGraphSLF, Moses::SentenceInput, and TRACE_ERR.
Referenced by init().
bool Moses::AllOptions::update | ( | std::map< std::string, xmlrpc_c::value >const & | param | ) |
Definition at line 107 of file AllOptions.cpp.
Definition at line 30 of file AllOptions.h.
Referenced by Moses::Syntax::F2S::GlueRuleSynthesizer::GlueRuleSynthesizer(), init(), Moses::ProcessAndStripXMLTags(), and sanity_check().
Definition at line 32 of file AllOptions.h.
Referenced by init(), NBestDistinct(), and sanity_check().
Definition at line 31 of file AllOptions.h.
Referenced by Moses::ChartHypothesis::CleanupArcList(), doMBR(), init(), NBestDistinct(), and sanity_check().
Definition at line 27 of file AllOptions.h.
Referenced by Moses::ChartHypothesisCollection::ChartHypothesisCollection(), Moses::ChartHypothesis::CleanupArcList(), init(), NBestDistinct(), and sanity_check().
Definition at line 33 of file AllOptions.h.
Referenced by Moses::ChartHypothesis::CleanupArcList(), doMBR(), init(), NBestDistinct(), Moses::OutputSearchNode(), Moses::ProcessAndStripXMLTags(), and sanity_check().
Definition at line 28 of file AllOptions.h.
Referenced by init(), and Moses::SearchNormal::ProcessOneHypothesis().
Definition at line 25 of file AllOptions.h.
Referenced by Moses::ChartHypothesisCollection::ChartHypothesisCollection(), Moses::SearchCubePruning::Decode(), Moses::SearchNormal::ExpandAllHypotheses(), Moses::SearchNormal::ExpandHypothesis(), init(), Moses::Search::out_of_time(), Moses::ProcessAndStripXMLTags(), Moses::SearchNormal::ProcessOneHypothesis(), Moses::SearchNormal::ProcessOneStack(), sanity_check(), Moses::SearchCubePruning::SearchCubePruning(), and Moses::SearchNormal::SearchNormal().
Definition at line 35 of file AllOptions.h.
Referenced by init(), and Moses::ProcessAndStripXMLTags().
Definition at line 34 of file AllOptions.h.
Referenced by init(), Moses::RuleTableLoaderStandard::Load(), Moses::Syntax::T2S::RuleTrieLoader::Load(), and Moses::Syntax::S2T::RuleTrieLoader::Load().
Definition at line 37 of file AllOptions.h.