00001 // -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*- 00002 #pragma once 00003 #include <string> 00004 #include <vector> 00005 #include "moses/Parameter.h" 00006 #include "OptionsBaseClass.h" 00007 namespace Moses 00008 { 00009 00010 // Options for mimum bayes risk decoding 00011 struct 00012 LMBR_Options : public OptionsBaseClass 00013 { 00014 bool enabled; 00015 bool use_lattice_hyp_set; 00016 float precision; 00017 float ratio; 00018 float map_weight; 00019 size_t pruning_factor; 00020 std::vector<float> theta; 00021 bool init(Parameter const& param); 00022 LMBR_Options(); 00023 }; 00024 00025 } 00026