diff options
Diffstat (limited to 'contrib/moses2/parameters/NBestOptions.h')
-rw-r--r-- | contrib/moses2/parameters/NBestOptions.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/moses2/parameters/NBestOptions.h b/contrib/moses2/parameters/NBestOptions.h new file mode 100644 index 000000000..f2e478b84 --- /dev/null +++ b/contrib/moses2/parameters/NBestOptions.h @@ -0,0 +1,32 @@ +// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*- +#pragma once +#include <string> +#include "OptionsBaseClass.h" +namespace Moses2 +{ + +struct NBestOptions : public OptionsBaseClass +{ + size_t nbest_size; + size_t factor; + bool enabled; + bool print_trees; + bool only_distinct; + + bool include_alignment_info; + bool include_segmentation; + bool include_feature_labels; + bool include_passthrough; + + bool include_all_factors; + + std::string output_file_path; + + bool init(Parameter const& param); + + bool update(std::map<std::string,xmlrpc_c::value>const& param); + + NBestOptions(); +}; + +} |