Moses::SourceLabelsPhraseProperty Class Reference

#include <SourceLabelsPhraseProperty.h>

Inheritance diagram for Moses::SourceLabelsPhraseProperty:

Inheritance graph
[legend]
Collaboration diagram for Moses::SourceLabelsPhraseProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SourceLabelsPhraseProperty ()
virtual void ProcessValue (const std::string &value)
size_t GetNumberOfNonTerminals () const
float GetTotalCount () const
const std::list
< SourceLabelsPhrasePropertyItem > & 
GetSourceLabelItems () const
virtual const std::string * GetValueString () const

Protected Attributes

size_t m_nNTs
float m_totalCount
std::list
< SourceLabelsPhrasePropertyItem
m_sourceLabelItems


Detailed Description

Definition at line 41 of file SourceLabelsPhraseProperty.h.


Constructor & Destructor Documentation

Moses::SourceLabelsPhraseProperty::SourceLabelsPhraseProperty (  )  [inline]

Definition at line 44 of file SourceLabelsPhraseProperty.h.


Member Function Documentation

size_t Moses::SourceLabelsPhraseProperty::GetNumberOfNonTerminals (  )  const [inline]

Definition at line 48 of file SourceLabelsPhraseProperty.h.

References m_nNTs.

Referenced by Moses::SoftSourceSyntacticConstraintsFeature::EvaluateWithSourceContext().

Here is the caller graph for this function:

const std::list<SourceLabelsPhrasePropertyItem>& Moses::SourceLabelsPhraseProperty::GetSourceLabelItems (  )  const [inline]

Definition at line 56 of file SourceLabelsPhraseProperty.h.

References m_sourceLabelItems.

Referenced by Moses::SoftSourceSyntacticConstraintsFeature::EvaluateWithSourceContext().

Here is the caller graph for this function:

float Moses::SourceLabelsPhraseProperty::GetTotalCount (  )  const [inline]

Definition at line 52 of file SourceLabelsPhraseProperty.h.

References m_totalCount.

Referenced by Moses::SoftSourceSyntacticConstraintsFeature::EvaluateWithSourceContext().

Here is the caller graph for this function:

virtual const std::string* Moses::SourceLabelsPhraseProperty::GetValueString (  )  const [inline, virtual]

Reimplemented from Moses::PhraseProperty.

Definition at line 60 of file SourceLabelsPhraseProperty.h.

References NULL, and UTIL_THROW2.

void Moses::SourceLabelsPhraseProperty::ProcessValue ( const std::string &  value  )  [virtual]

Reimplemented from Moses::PhraseProperty.

Definition at line 14 of file SourceLabelsPhraseProperty.cpp.

References begin, EOF, m_nNTs, m_sourceLabelItems, m_totalCount, and UTIL_THROW2.


Member Data Documentation

Definition at line 63 of file SourceLabelsPhraseProperty.h.

Referenced by GetNumberOfNonTerminals(), and ProcessValue().

Definition at line 70 of file SourceLabelsPhraseProperty.h.

Referenced by GetSourceLabelItems(), and ProcessValue().

Definition at line 68 of file SourceLabelsPhraseProperty.h.

Referenced by GetTotalCount(), and ProcessValue().


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

Generated on Thu Jul 6 00:33:29 2017 for Moses by  doxygen 1.5.9