Moses::SyntaxOptions Struct Reference

#include <SyntaxOptions.h>

Inheritance diagram for Moses::SyntaxOptions:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SyntaxOptions ()
bool init (Parameter const &param)
bool update (std::map< std::string, xmlrpc_c::value >const &param)
void LoadNonTerminals (Parameter const &param, FactorCollection &factorCollection)

Public Attributes

S2TParsingAlgorithm s2t_parsing_algo
Word input_default_non_terminal
Word output_default_non_terminal
bool default_non_term_only_for_empty_range
UnknownLHSList unknown_lhs
SourceLabelOverlap source_label_overlap
size_t rule_limit


Detailed Description

Definition at line 15 of file SyntaxOptions.h.


Constructor & Destructor Documentation

Moses::SyntaxOptions::SyntaxOptions (  ) 

Definition at line 13 of file SyntaxOptions.cpp.


Member Function Documentation

bool Moses::SyntaxOptions::init ( Parameter const &  param  ) 

Definition at line 22 of file SyntaxOptions.cpp.

References Moses::DEFAULT_MAX_TRANS_OPT_SIZE, default_non_term_only_for_empty_range, Moses::RecursiveCYKPlus, rule_limit, s2t_parsing_algo, Moses::Parameter::SetParameter(), source_label_overlap, and Moses::SourceLabelOverlapAdd.

Referenced by Moses::AllOptions::init().

Here is the call graph for this function:

Here is the caller graph for this function:

void Moses::SyntaxOptions::LoadNonTerminals ( Parameter const &  param,
FactorCollection factorCollection 
)

bool Moses::SyntaxOptions::update ( std::map< std::string, xmlrpc_c::value >const &  param  ) 

Definition at line 83 of file SyntaxOptions.cpp.


Member Data Documentation

Definition at line 21 of file SyntaxOptions.h.

Referenced by init().

Definition at line 19 of file SyntaxOptions.h.

Referenced by LoadNonTerminals().

Definition at line 20 of file SyntaxOptions.h.

Referenced by LoadNonTerminals().

Definition at line 24 of file SyntaxOptions.h.

Referenced by init().

Definition at line 18 of file SyntaxOptions.h.

Referenced by init().

Definition at line 23 of file SyntaxOptions.h.

Referenced by init().

Definition at line 22 of file SyntaxOptions.h.

Referenced by LoadNonTerminals(), and Moses::ProcessAndStripXMLTags().


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

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