#include <Parameter.h>
Public Member Functions | |
Parameter () | |
virtual | ~Parameter () |
void | SetScopeSpan (const std::string &str) |
Public Attributes | |
int | maxSpan |
int | minSpan |
int | maxNonTerm |
int | maxHieroNonTerm |
int | maxSymbolsTarget |
int | maxSymbolsSource |
int | minHoleSource |
int | minHoleSourceSyntax |
long | sentenceOffset |
bool | nonTermConsecSource |
bool | requireAlignedWord |
bool | fractionalCounting |
bool | gzOutput |
std::string | hieroNonTerm |
std::string | gluePath |
bool | sourceSyntax |
bool | targetSyntax |
int | mixedSyntaxType |
int | multiLabel |
bool | nonTermConsecSourceMixed |
bool | hieroSourceLHS |
int | maxSpanFreeNonTermSource |
bool | nieceTerminal |
int | maxScope |
int | minScope |
bool | spanLength |
bool | ruleLength |
bool | nonTermContext |
bool | nonTermContextTarget |
int | nonTermContextFactor |
int | numSourceFactors |
int | numTargetFactors |
int | nonTermConsecSourceMixedSyntax |
std::string | scopeSpanStr |
std::vector< std::pair< int, int > > | scopeSpan |
Definition at line 15 of file Parameter.h.
Parameter::Parameter | ( | ) |
Definition at line 13 of file Parameter.cpp.
Parameter::~Parameter | ( | ) | [virtual] |
Definition at line 53 of file Parameter.cpp.
void Parameter::SetScopeSpan | ( | const std::string & | str | ) |
Definition at line 58 of file Parameter.cpp.
References scopeSpan, scopeSpanStr, Moses::Tokenize(), and UTIL_THROW_IF2.
Referenced by main().
std::string Parameter::gluePath |
bool Parameter::gzOutput |
std::string Parameter::hieroNonTerm |
Definition at line 37 of file Parameter.h.
Referenced by ConsistentPhrases::AddHieroNonTerms(), NonTerm::IsHiero(), and main().
Definition at line 21 of file Parameter.h.
Referenced by AlignedSentence::CreateConsistentPhrases(), and main().
Definition at line 25 of file Parameter.h.
Definition at line 22 of file Parameter.h.
Referenced by AlignedSentence::CreateConsistentPhrases(), and main().
Definition at line 42 of file Parameter.h.
Referenced by AlignedSentenceSyntax::Create(), main(), and Rule::Prevalidate().
Definition at line 43 of file Parameter.h.
std::vector<std::pair<int,int> > Parameter::scopeSpan |
std::string Parameter::scopeSpanStr |
Definition at line 40 of file Parameter.h.
Referenced by AlignedSentenceSyntax::Create(), and main().
Definition at line 40 of file Parameter.h.
Referenced by AlignedSentenceSyntax::Create(), and main().