Moses::VWFeatureSourceSenseWindow Class Reference

#include <VWFeatureSourceSenseWindow.h>

Inheritance diagram for Moses::VWFeatureSourceSenseWindow:

Inheritance graph
Collaboration diagram for Moses::VWFeatureSourceSenseWindow:

Collaboration graph

List of all members.


struct  Sense

Public Member Functions

 VWFeatureSourceSenseWindow (const std::string &line)
virtual void InitializeForInput (ttasksptr const &ttask)
 Called before search and collecting of translation options.
void operator() (const InputType &input, const Range &sourceRange, Discriminative::Classifier &classifier, Discriminative::FeatureVector &outFeatures) const
virtual void SetParameter (const std::string &key, const std::string &value)

Detailed Description

Definition at line 24 of file VWFeatureSourceSenseWindow.h.

Constructor & Destructor Documentation

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

Definition at line 27 of file VWFeatureSourceSenseWindow.h.

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

Here is the call graph for this function:

Member Function Documentation

virtual void Moses::VWFeatureSourceSenseWindow::InitializeForInput ( ttasksptr const &  ttask  )  [inline, virtual]

Called before search and collecting of translation options.

Reimplemented from Moses::FeatureFunction.

Definition at line 36 of file VWFeatureSourceSenseWindow.h.

References Moses::InputType::GetSize(), and Moses::ThreadLocalByFeatureStorage< Value, Factory >::GetStored().

Here is the call graph for this function:

void Moses::VWFeatureSourceSenseWindow::operator() ( const InputType input,
const Range sourceRange,
Discriminative::Classifier &  classifier,
Discriminative::FeatureVector &  outFeatures 
) const [inline, virtual]

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

Reimplemented from Moses::VWFeatureSource.

Definition at line 89 of file VWFeatureSourceSenseWindow.h.

References Moses::Scan< bool >().

Here is the call graph for this function:

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