#include <LexicalReorderingState.h>

Public Types | |
| enum | ModelType { Monotonic, MSD, MSLR, LeftRight, None } |
| enum | Direction { Forward, Backward, Bidirectional } |
| enum | Condition { F, E, FE } |
Public Member Functions | |
| LexicalReorderingConfiguration (ScoreProducer *scoreProducer, const std::string &modelType) | |
| LexicalReorderingState * | CreateLexicalReorderingState (const InputType &input) const |
| size_t | GetNumScoreComponents () const |
| size_t | GetNumberOfTypes () const |
| ScoreProducer * | GetScoreProducer () const |
| ModelType | GetModelType () const |
| Direction | GetDirection () const |
| Condition | GetCondition () const |
| bool | IsPhraseBased () const |
| bool | CollapseScores () const |
| Moses::LexicalReorderingConfiguration::LexicalReorderingConfiguration | ( | ScoreProducer * | scoreProducer, | |
| const std::string & | modelType | |||
| ) |
| bool Moses::LexicalReorderingConfiguration::CollapseScores | ( | ) | const [inline] |
Referenced by Moses::LexicalReorderingState::ClearScores(), and Moses::LexicalReorderingState::CopyScores().

| LexicalReorderingState * Moses::LexicalReorderingConfiguration::CreateLexicalReorderingState | ( | const InputType & | input | ) | const |
References Backward, Bidirectional, Forward, GetNumberOfTypes(), Moses::InputType::GetSize(), and NULL.
Referenced by Moses::LexicalReordering::EmptyHypothesisState().


| Condition Moses::LexicalReorderingConfiguration::GetCondition | ( | ) | const [inline] |
Referenced by Moses::LexicalReordering::LexicalReordering().

| Direction Moses::LexicalReorderingConfiguration::GetDirection | ( | ) | const [inline] |
| ModelType Moses::LexicalReorderingConfiguration::GetModelType | ( | ) | const [inline] |
Referenced by Moses::HierarchicalReorderingForwardState::Expand(), Moses::HierarchicalReorderingBackwardState::Expand(), and Moses::PhraseBasedReorderingState::Expand().

| size_t Moses::LexicalReorderingConfiguration::GetNumberOfTypes | ( | ) | const |
Referenced by Moses::LexicalReorderingState::ClearScores(), Moses::LexicalReorderingState::ComparePrevScores(), Moses::LexicalReorderingState::CopyScores(), CreateLexicalReorderingState(), and GetNumScoreComponents().

| size_t Moses::LexicalReorderingConfiguration::GetNumScoreComponents | ( | ) | const |
References Bidirectional, and GetNumberOfTypes().
Referenced by Moses::LexicalReordering::GetNumScoreComponents(), and Moses::LexicalReordering::LexicalReordering().


| ScoreProducer* Moses::LexicalReorderingConfiguration::GetScoreProducer | ( | ) | const [inline] |
Referenced by Moses::LexicalReorderingState::CopyScores().

| bool Moses::LexicalReorderingConfiguration::IsPhraseBased | ( | ) | const [inline] |
1.5.9