mosesdecoder/moses/FF/StatelessFeatureFunction.cpp

22 lines
476 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
{
2013-09-25 19:57:01 +04:00
std::vector<const StatelessFeatureFunction*> StatelessFeatureFunction::m_statelessFFs;
StatelessFeatureFunction::StatelessFeatureFunction(const std::string &line)
:FeatureFunction(line)
2013-05-25 02:18:38 +04:00
{
m_statelessFFs.push_back(this);
}
StatelessFeatureFunction::StatelessFeatureFunction(size_t numScoreComponents, const std::string &line)
:FeatureFunction(numScoreComponents, line)
2013-05-25 02:18:38 +04:00
{
m_statelessFFs.push_back(this);
}
}