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;
|
|
|
|
|
2013-10-29 22:44:33 +04:00
|
|
|
StatelessFeatureFunction::StatelessFeatureFunction(const std::string &line)
|
2013-10-29 22:59:53 +04:00
|
|
|
:FeatureFunction(line)
|
2013-05-25 02:18:38 +04:00
|
|
|
{
|
|
|
|
m_statelessFFs.push_back(this);
|
|
|
|
}
|
|
|
|
|
2013-10-29 22:44:33 +04:00
|
|
|
StatelessFeatureFunction::StatelessFeatureFunction(size_t numScoreComponents, const std::string &line)
|
2013-10-29 22:59:53 +04:00
|
|
|
:FeatureFunction(numScoreComponents, line)
|
2013-05-25 02:18:38 +04:00
|
|
|
{
|
|
|
|
m_statelessFFs.push_back(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|