mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
22 lines
476 B
C++
22 lines
476 B
C++
#include "StatelessFeatureFunction.h"
|
|
|
|
namespace Moses
|
|
{
|
|
|
|
std::vector<const StatelessFeatureFunction*> StatelessFeatureFunction::m_statelessFFs;
|
|
|
|
StatelessFeatureFunction::StatelessFeatureFunction(const std::string &line)
|
|
:FeatureFunction(line)
|
|
{
|
|
m_statelessFFs.push_back(this);
|
|
}
|
|
|
|
StatelessFeatureFunction::StatelessFeatureFunction(size_t numScoreComponents, const std::string &line)
|
|
:FeatureFunction(numScoreComponents, line)
|
|
{
|
|
m_statelessFFs.push_back(this);
|
|
}
|
|
|
|
}
|
|
|