#include <CountsPhraseProperty.h>


Public Member Functions | |
| CountsPhraseProperty () | |
| virtual void | ProcessValue (const std::string &value) |
| size_t | GetSourceMarginal () const |
| size_t | GetTargetMarginal () const |
| float | GetJointCount () const |
| virtual const std::string * | GetValueString () const |
Protected Attributes | |
| float | m_sourceMarginal |
| float | m_targetMarginal |
| float | m_jointCount |
Friends | |
| std::ostream & | operator<< (std::ostream &, const CountsPhraseProperty &) |
Definition at line 28 of file CountsPhraseProperty.h.
| Moses::CountsPhraseProperty::CountsPhraseProperty | ( | ) | [inline] |
Definition at line 34 of file CountsPhraseProperty.h.
| float Moses::CountsPhraseProperty::GetJointCount | ( | ) | const [inline] |
Definition at line 46 of file CountsPhraseProperty.h.
References m_jointCount.
Referenced by Moses::operator<<().

| size_t Moses::CountsPhraseProperty::GetSourceMarginal | ( | ) | const [inline] |
Definition at line 38 of file CountsPhraseProperty.h.
References m_sourceMarginal.
Referenced by Moses::operator<<().

| size_t Moses::CountsPhraseProperty::GetTargetMarginal | ( | ) | const [inline] |
Definition at line 42 of file CountsPhraseProperty.h.
References m_targetMarginal.
Referenced by Moses::operator<<().

| virtual const std::string* Moses::CountsPhraseProperty::GetValueString | ( | ) | const [inline, virtual] |
Reimplemented from Moses::PhraseProperty.
Definition at line 50 of file CountsPhraseProperty.h.
References NULL, and UTIL_THROW2.
| void Moses::CountsPhraseProperty::ProcessValue | ( | const std::string & | value | ) | [virtual] |
Reimplemented from Moses::PhraseProperty.
Definition at line 8 of file CountsPhraseProperty.cpp.
References m_jointCount, m_sourceMarginal, m_targetMarginal, and UTIL_THROW2.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const CountsPhraseProperty & | obj | |||
| ) | [friend] |
Definition at line 28 of file CountsPhraseProperty.cpp.
float Moses::CountsPhraseProperty::m_jointCount [protected] |
Definition at line 53 of file CountsPhraseProperty.h.
Referenced by GetJointCount(), and ProcessValue().
float Moses::CountsPhraseProperty::m_sourceMarginal [protected] |
Definition at line 53 of file CountsPhraseProperty.h.
Referenced by GetSourceMarginal(), and ProcessValue().
float Moses::CountsPhraseProperty::m_targetMarginal [protected] |
Definition at line 53 of file CountsPhraseProperty.h.
Referenced by GetTargetMarginal(), and ProcessValue().
1.5.9