#include <LMBR_Options.h>
Public Member Functions | |
bool | init (Parameter const ¶m) |
theta(s) for lattice mbr calculation | |
LMBR_Options () | |
Public Attributes | |
bool | enabled |
bool | use_lattice_hyp_set |
float | precision |
to use nbest as hypothesis set during lattice MBR | |
float | ratio |
unigram precision theta - see Tromble et al 08 for more details | |
float | map_weight |
decaying factor for ngram thetas - see Tromble et al 08 | |
size_t | pruning_factor |
Weight given to the map solution. See Kumar et al 09. | |
std::vector< float > | theta |
average number of nodes per word wanted in pruned lattice |
Definition at line 11 of file LMBR_Options.h.
Moses::LMBR_Options::LMBR_Options | ( | ) |
Definition at line 7 of file LMBR_Options.cpp.
bool Moses::LMBR_Options::init | ( | Parameter const & | param | ) |
theta(s) for lattice mbr calculation
Definition at line 18 of file LMBR_Options.cpp.
References enabled, Moses::Parameter::GetParam(), map_weight, params, precision, pruning_factor, ratio, Moses::Parameter::SetParameter(), theta, and use_lattice_hyp_set.
Referenced by Moses::AllOptions::init().
Definition at line 14 of file LMBR_Options.h.
Referenced by init(), main(), Moses::AllOptions::NBestDistinct(), and Moses::AllOptions::sanity_check().
decaying factor for ngram thetas - see Tromble et al 08
Definition at line 18 of file LMBR_Options.h.
Referenced by Moses::getLatticeMBRNBest(), and init().
to use nbest as hypothesis set during lattice MBR
Definition at line 16 of file LMBR_Options.h.
Referenced by Moses::getLatticeMBRNBest(), init(), and main().
Weight given to the map solution. See Kumar et al 09.
Definition at line 19 of file LMBR_Options.h.
Referenced by Moses::doConsensusDecoding(), Moses::getLatticeMBRNBest(), init(), and main().
unigram precision theta - see Tromble et al 08 for more details
Definition at line 17 of file LMBR_Options.h.
Referenced by Moses::getLatticeMBRNBest(), init(), and main().
std::vector<float> Moses::LMBR_Options::theta |
average number of nodes per word wanted in pruned lattice
Definition at line 20 of file LMBR_Options.h.
Referenced by Moses::getLatticeMBRNBest(), and init().