#include <TargetConstituentBoundariesRightAdjacentPhraseProperty.h>
Public Member Functions | |
TargetConstituentBoundariesRightAdjacentPhraseProperty () | |
virtual void | ProcessValue (const std::string &value) |
const TargetConstituentBoundariesRightAdjacentCollection & | GetCollection () const |
virtual const std::string * | GetValueString () const |
Protected Member Functions | |
virtual void | Print (std::ostream &out) const |
Protected Attributes | |
TargetConstituentBoundariesRightAdjacentCollection | m_constituentsCollection |
Definition at line 15 of file TargetConstituentBoundariesRightAdjacentPhraseProperty.h.
Moses::TargetConstituentBoundariesRightAdjacentPhraseProperty::TargetConstituentBoundariesRightAdjacentPhraseProperty | ( | ) | [inline] |
Definition at line 18 of file TargetConstituentBoundariesRightAdjacentPhraseProperty.h.
const TargetConstituentBoundariesRightAdjacentCollection& Moses::TargetConstituentBoundariesRightAdjacentPhraseProperty::GetCollection | ( | ) | const [inline] |
Definition at line 23 of file TargetConstituentBoundariesRightAdjacentPhraseProperty.h.
References m_constituentsCollection.
Referenced by Moses::TargetConstituentAdjacencyFeature::EvaluateWhenApplied().
virtual const std::string* Moses::TargetConstituentBoundariesRightAdjacentPhraseProperty::GetValueString | ( | ) | const [inline, virtual] |
Reimplemented from Moses::PhraseProperty.
Definition at line 27 of file TargetConstituentBoundariesRightAdjacentPhraseProperty.h.
References NULL, and UTIL_THROW2.
void Moses::TargetConstituentBoundariesRightAdjacentPhraseProperty::Print | ( | std::ostream & | out | ) | const [protected, virtual] |
Reimplemented from Moses::PhraseProperty.
Definition at line 52 of file TargetConstituentBoundariesRightAdjacentPhraseProperty.cpp.
References m_constituentsCollection.
void Moses::TargetConstituentBoundariesRightAdjacentPhraseProperty::ProcessValue | ( | const std::string & | value | ) | [virtual] |
Reimplemented from Moses::PhraseProperty.
Definition at line 12 of file TargetConstituentBoundariesRightAdjacentPhraseProperty.cpp.
References Moses::FactorCollection::AddFactor(), count, Moses::FactorCollection::Instance(), m_constituentsCollection, Moses::Tokenize(), and UTIL_THROW2.
TargetConstituentBoundariesRightAdjacentCollection Moses::TargetConstituentBoundariesRightAdjacentPhraseProperty::m_constituentsCollection [protected] |
Definition at line 36 of file TargetConstituentBoundariesRightAdjacentPhraseProperty.h.
Referenced by GetCollection(), Print(), and ProcessValue().