Moses::LexicalReorderingConfiguration Class Reference

Factory class for lexical reordering states. More...

#include <LexicalReorderingState.h>

Collaboration diagram for Moses::LexicalReorderingConfiguration:

Collaboration graph
[legend]

List of all members.

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)
LexicalReorderingStateCreateLexicalReorderingState (const InputType &input) const
size_t GetNumScoreComponents () const
size_t GetNumberOfTypes () const
ScoreProducerGetScoreProducer () const
ModelType GetModelType () const
Direction GetDirection () const
Condition GetCondition () const
bool IsPhraseBased () const
bool CollapseScores () const


Detailed Description

Factory class for lexical reordering states.

Member Enumeration Documentation

Enumerator:
F 
E 
FE 

Enumerator:
Forward 
Backward 
Bidirectional 

Enumerator:
Monotonic 
MSD 
MSLR 
LeftRight 
None 


Constructor & Destructor Documentation

Moses::LexicalReorderingConfiguration::LexicalReorderingConfiguration ( ScoreProducer scoreProducer,
const std::string &  modelType 
)

References Moses::UserMessage::Add(), Backward, Bidirectional, F, FE, Forward, LeftRight, Monotonic, MSD, MSLR, and None.

Here is the call graph for this function:


Member Function Documentation

bool Moses::LexicalReorderingConfiguration::CollapseScores (  )  const [inline]

Referenced by Moses::LexicalReorderingState::ClearScores(), and Moses::LexicalReorderingState::CopyScores().

Here is the caller graph for this function:

LexicalReorderingState * Moses::LexicalReorderingConfiguration::CreateLexicalReorderingState ( const InputType input  )  const

References Backward, Bidirectional, Forward, GetNumberOfTypes(), Moses::InputType::GetSize(), and NULL.

Referenced by Moses::LexicalReordering::EmptyHypothesisState().

Here is the call graph for this function:

Here is the caller graph for this function:

Condition Moses::LexicalReorderingConfiguration::GetCondition (  )  const [inline]

Referenced by Moses::LexicalReordering::LexicalReordering().

Here is the caller graph for this function:

Direction Moses::LexicalReorderingConfiguration::GetDirection (  )  const [inline]

ModelType Moses::LexicalReorderingConfiguration::GetModelType (  )  const [inline]

size_t Moses::LexicalReorderingConfiguration::GetNumberOfTypes (  )  const

size_t Moses::LexicalReorderingConfiguration::GetNumScoreComponents (  )  const

References Bidirectional, and GetNumberOfTypes().

Referenced by Moses::LexicalReordering::GetNumScoreComponents(), and Moses::LexicalReordering::LexicalReordering().

Here is the call graph for this function:

Here is the caller graph for this function:

ScoreProducer* Moses::LexicalReorderingConfiguration::GetScoreProducer (  )  const [inline]

Referenced by Moses::LexicalReorderingState::CopyScores().

Here is the caller graph for this function:

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


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

Generated on Wed Sep 8 20:05:17 2010 for Moses by  doxygen 1.5.9