00001 // -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*- 00002 #pragma once 00003 #include <string> 00004 #include "moses/Parameter.h" 00005 #include <string> 00006 #include "OptionsBaseClass.h" 00007 00008 namespace Moses 00009 { 00010 struct 00011 OOVHandlingOptions : public OptionsBaseClass 00012 { 00013 bool drop; 00014 bool mark; 00015 std::string prefix; 00016 std::string suffix; 00017 00018 bool word_deletion_enabled; 00019 bool always_create_direct_transopt; 00020 OOVHandlingOptions(); 00021 00022 bool init(Parameter const& param); 00023 bool update(std::map<std::string,xmlrpc_c::value>const& param); 00024 00025 }; 00026 00027 } 00028