2013-05-24 22:11:15 +04:00
|
|
|
#include "StatefulFeatureFunction.h"
|
|
|
|
|
2013-05-25 02:18:38 +04:00
|
|
|
namespace Moses
|
|
|
|
{
|
|
|
|
|
|
|
|
StatefulFeatureFunction::StatefulFeatureFunction(const std::string& description, const std::string &line)
|
2013-05-29 21:16:15 +04:00
|
|
|
: FeatureFunction(description, line)
|
2013-05-25 02:18:38 +04:00
|
|
|
{
|
|
|
|
m_statefulFFs.push_back(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
StatefulFeatureFunction::StatefulFeatureFunction(const std::string& description, size_t numScoreComponents, const std::string &line)
|
2013-05-29 21:16:15 +04:00
|
|
|
: FeatureFunction(description,numScoreComponents, line)
|
2013-05-25 02:18:38 +04:00
|
|
|
{
|
|
|
|
m_statefulFFs.push_back(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|