Welcome to mirror list, hosted at ThFree Co, Russian Federation.

StatefulFeatureFunction.cpp « FF « moses - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bfb56f88c7c19330c20406d3b1ba2f9b28c2aca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "StatefulFeatureFunction.h"

namespace Moses
{

std::vector<const StatefulFeatureFunction*>  StatefulFeatureFunction::m_statefulFFs;

StatefulFeatureFunction
::StatefulFeatureFunction(const std::string &line, bool registerNow)
  : FeatureFunction(line, registerNow)
{
  m_statefulFFs.push_back(this);
}

StatefulFeatureFunction
::StatefulFeatureFunction(size_t numScoreComponents, const std::string &line)
  : FeatureFunction(numScoreComponents, line)
{
  m_statefulFFs.push_back(this);
}

}