#include <LexicalReordering.h>


Public Member Functions | |
| LexicalMonotonicReordering (const std::string &filePath, const std::vector< float > &w, Direction direction, Condition condition, std::vector< FactorType > &f_factors, std::vector< FactorType > &e_factors) | |
| virtual int | GetNumOrientationTypes () const |
| virtual std::string | GetScoreProducerDescription () const |
| returns a string description of this producer | |
| virtual int | GetOrientationType (Hypothesis *currHypothesis) const |
| Moses::LexicalMonotonicReordering::LexicalMonotonicReordering | ( | const std::string & | filePath, | |
| const std::vector< float > & | w, | |||
| Direction | direction, | |||
| Condition | condition, | |||
| std::vector< FactorType > & | f_factors, | |||
| std::vector< FactorType > & | e_factors | |||
| ) | [inline] |
| virtual int Moses::LexicalMonotonicReordering::GetNumOrientationTypes | ( | ) | const [inline, virtual] |
Implements Moses::LexicalReordering.
| LexicalReordering::OrientationType Moses::LexicalMonotonicReordering::GetOrientationType | ( | Hypothesis * | currHypothesis | ) | const [virtual] |
Implements Moses::LexicalReordering.
References Moses::Hypothesis::GetCurrSourceWordsRange(), Moses::WordsRange::GetEndPos(), Moses::Hypothesis::GetId(), Moses::Hypothesis::GetPrevHypo(), and Moses::WordsRange::GetStartPos().

| virtual std::string Moses::LexicalMonotonicReordering::GetScoreProducerDescription | ( | ) | const [inline, virtual] |
1.5.9