Moses::VWFeatureTargetIndicator Class Reference

#include <VWFeatureTargetIndicator.h>

Inheritance diagram for Moses::VWFeatureTargetIndicator:

Inheritance graph
Collaboration diagram for Moses::VWFeatureTargetIndicator:

Collaboration graph

List of all members.

Public Member Functions

 VWFeatureTargetIndicator (const std::string &line)
void operator() (const InputType &input, const TargetPhrase &targetPhrase, Discriminative::Classifier &classifier, Discriminative::FeatureVector &outFeatures) const
virtual void SetParameter (const std::string &key, const std::string &value)

Detailed Description

Definition at line 9 of file VWFeatureTargetIndicator.h.

Constructor & Destructor Documentation

Moses::VWFeatureTargetIndicator::VWFeatureTargetIndicator ( const std::string &  line  )  [inline]

Definition at line 12 of file VWFeatureTargetIndicator.h.

References Moses::FeatureFunction::ReadParameters(), and Moses::VWFeatureBase::UpdateRegister().

Here is the call graph for this function:

Member Function Documentation

void Moses::VWFeatureTargetIndicator::operator() ( const InputType input,
const TargetPhrase targetPhrase,
Discriminative::Classifier &  classifier,
Discriminative::FeatureVector &  outFeatures 
) const [inline, virtual]

Implements Moses::VWFeatureBase.

Definition at line 19 of file VWFeatureTargetIndicator.h.

References Moses::Phrase::GetStringRep(), and Moses::VWFeatureBase::m_targetFactors.

Here is the call graph for this function:

virtual void Moses::VWFeatureTargetIndicator::SetParameter ( const std::string &  key,
const std::string &  value 
) [inline, virtual]

Reimplemented from Moses::VWFeatureTarget.

Definition at line 26 of file VWFeatureTargetIndicator.h.

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

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