mosesdecoder/moses/FF/StatelessFeatureFunction.cpp

20 lines
478 B
C++
Raw Normal View History

2013-05-24 21:34:47 +04:00
#include "StatelessFeatureFunction.h"
2013-05-25 02:18:38 +04:00
namespace Moses
{
StatelessFeatureFunction::StatelessFeatureFunction(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_statelessFFs.push_back(this);
}
StatelessFeatureFunction::StatelessFeatureFunction(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_statelessFFs.push_back(this);
}
}