mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-09 16:04:41 +03:00
22 lines
469 B
C++
22 lines
469 B
C++
#include "StatefulFeatureFunction.h"
|
|
|
|
namespace Moses
|
|
{
|
|
|
|
std::vector<const StatefulFeatureFunction*> StatefulFeatureFunction::m_statefulFFs;
|
|
|
|
StatefulFeatureFunction::StatefulFeatureFunction(const std::string &line)
|
|
: FeatureFunction(line)
|
|
{
|
|
m_statefulFFs.push_back(this);
|
|
}
|
|
|
|
StatefulFeatureFunction::StatefulFeatureFunction(size_t numScoreComponents, const std::string &line)
|
|
: FeatureFunction(numScoreComponents, line)
|
|
{
|
|
m_statefulFFs.push_back(this);
|
|
}
|
|
|
|
}
|
|
|