00001 // -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*- 00002 #pragma once 00003 #include <string> 00004 #include "OptionsBaseClass.h" 00005 namespace Moses 00006 { 00007 00008 struct NBestOptions : public OptionsBaseClass 00009 { 00010 size_t nbest_size; 00011 size_t factor; 00012 bool enabled; 00013 bool print_trees; 00014 bool only_distinct; 00015 00016 bool include_alignment_info; 00017 bool include_segmentation; 00018 bool include_feature_labels; 00019 bool include_passthrough; 00020 00021 bool include_all_factors; 00022 00023 std::string output_file_path; 00024 00025 bool init(Parameter const& param); 00026 00027 bool update(std::map<std::string,xmlrpc_c::value>const& param); 00028 00029 NBestOptions(); 00030 }; 00031 00032 }