#include <InputOptions.h>
Public Member Functions | |
InputOptions () | |
bool | init (Parameter const ¶m) |
bool | update (std::map< std::string, xmlrpc_c::value >const ¶m) |
Public Attributes | |
bool | continue_partial_translation |
InputTypeEnum | input_type |
XmlInputType | xml_policy |
std::vector< FactorType > | factor_order |
std::string | factor_delimiter |
FactorType | placeholder_factor |
std::string | input_file_path |
std::pair< std::string, std::string > | xml_brackets |
Definition at line 10 of file InputOptions.h.
Moses::InputOptions::InputOptions | ( | ) |
Definition at line 11 of file InputOptions.cpp.
References factor_delimiter, factor_order, and xml_brackets.
bool Moses::InputOptions::init | ( | Parameter const & | param | ) |
Definition at line 25 of file InputOptions.cpp.
References Moses::ConfusionNetworkInput, continue_partial_translation, factor_delimiter, factor_order, Moses::ForestInputType, Moses::Parameter::GetParam(), input_file_path, input_type, NOT_FOUND, placeholder_factor, Moses::SentenceInput, Moses::Parameter::SetParameter(), Moses::TabbedSentenceInput, Moses::Tokenize(), Moses::TreeInputType, VERBOSE, Moses::WordLatticeInput, xml_brackets, xml_policy, and Moses::XmlPassThrough.
Referenced by Moses::AllOptions::init().
bool Moses::InputOptions::update | ( | std::map< std::string, xmlrpc_c::value >const & | param | ) |
Definition at line 101 of file InputOptions.cpp.
std::string Moses::InputOptions::factor_delimiter |
std::vector<FactorType> Moses::InputOptions::factor_order |
Definition at line 16 of file InputOptions.h.
Referenced by Moses::Syntax::F2S::GlueRuleSynthesizer::GlueRuleSynthesizer(), init(), and InputOptions().
std::string Moses::InputOptions::input_file_path |
Definition at line 14 of file InputOptions.h.
Referenced by init(), and Moses::AllOptions::sanity_check().
std::pair<std::string,std::string> Moses::InputOptions::xml_brackets |
Definition at line 20 of file InputOptions.h.
Referenced by init(), InputOptions(), and Moses::ProcessAndStripXMLTags().
Definition at line 15 of file InputOptions.h.
Referenced by init(), and Moses::ProcessAndStripXMLTags().