Moses::VWFeatureContextWindow Class Reference

#include <VWFeatureContextWindow.h>

Inheritance diagram for Moses::VWFeatureContextWindow:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 VWFeatureContextWindow (const std::string &line)
virtual void operator() (const InputType &input, const Phrase &contextPhrase, const AlignmentInfo &alignmentInfo, Discriminative::Classifier &classifier, Discriminative::FeatureVector &outFeatures) const
virtual void SetParameter (const std::string &key, const std::string &value)


Detailed Description

Definition at line 11 of file VWFeatureContextWindow.h.


Constructor & Destructor Documentation

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

Definition at line 14 of file VWFeatureContextWindow.h.

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

Here is the call graph for this function:


Member Function Documentation

virtual void Moses::VWFeatureContextWindow::operator() ( const InputType input,
const Phrase contextPhrase,
const AlignmentInfo alignmentInfo,
Discriminative::Classifier &  classifier,
Discriminative::FeatureVector &  outFeatures 
) const [inline, virtual]

Implements Moses::VWFeatureBase.

Definition at line 22 of file VWFeatureContextWindow.h.

References Moses::VWFeatureContext::GetWord(), Moses::VWFeatureContext::m_contextSize, and Moses::SPrint().

Here is the call graph for this function:

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

Reimplemented from Moses::VWFeatureContext.

Definition at line 31 of file VWFeatureContextWindow.h.


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

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