|
|
|
#pragma once |
|
#include <string> |
|
#include <string> |
|
#include "OptionsBaseClass.h" |
|
#include "../TypeDef.h" |
|
|
|
namespace Moses2 |
|
{ |
|
struct |
|
InputOptions : public OptionsBaseClass { |
|
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; |
|
|
|
|
|
|
|
InputOptions(); |
|
|
|
bool init(Parameter const& param); |
|
bool update(std::map<std::string,xmlrpc_c::value>const& param); |
|
|
|
}; |
|
|
|
} |
|
|
|
|