Moses::LMBR_Options Struct Reference

#include <LMBR_Options.h>

Inheritance diagram for Moses::LMBR_Options:

Inheritance graph
[legend]
Collaboration diagram for Moses::LMBR_Options:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool init (Parameter const &param)
 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


Detailed Description

Definition at line 11 of file LMBR_Options.h.


Constructor & Destructor Documentation

Moses::LMBR_Options::LMBR_Options (  ) 

Definition at line 7 of file LMBR_Options.cpp.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

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().

Definition at line 15 of file LMBR_Options.h.

Referenced by init().


The documentation for this struct was generated from the following files:

Generated on Thu Jul 6 00:33:26 2017 for Moses by  doxygen 1.5.9