mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
20 lines
472 B
C++
20 lines
472 B
C++
#include "StatefulFeatureFunction.h"
|
|
|
|
namespace Moses
|
|
{
|
|
|
|
StatefulFeatureFunction::StatefulFeatureFunction(const std::string& description, const std::string &line)
|
|
: FeatureFunction(description, line)
|
|
{
|
|
m_statefulFFs.push_back(this);
|
|
}
|
|
|
|
StatefulFeatureFunction::StatefulFeatureFunction(const std::string& description, size_t numScoreComponents, const std::string &line)
|
|
: FeatureFunction(description,numScoreComponents, line)
|
|
{
|
|
m_statefulFFs.push_back(this);
|
|
}
|
|
|
|
}
|
|
|