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;
|
|
|
|
|
2015-04-29 22:16:52 +03:00
|
|
|
StatelessFeatureFunction
|
|
|
|
::StatelessFeatureFunction(const std::string &line, bool registerNow)
|
|
|
|
: FeatureFunction(line, registerNow)
|
2013-05-25 02:18:38 +04:00
|
|
|
{
|
|
|
|
m_statelessFFs.push_back(this);
|
|
|
|
}
|
|
|
|
|
2015-04-29 22:16:52 +03:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|