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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-10-29 22:59:53 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-10-29 22:59:53 +0400
commita5f391e3f37ed43f627c5f247c92f38eb7a0117f (patch)
tree706c2f5311cb18da0fddc5fba7251f7c7a92ad32 /moses/FF/StatefulFeatureFunction.cpp
parentbd82b7355bad49146260fe8fe8d4a81d96fa2089 (diff)
remove description argument from feature function constructor. Redundant
Diffstat (limited to 'moses/FF/StatefulFeatureFunction.cpp')
-rw-r--r--moses/FF/StatefulFeatureFunction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/FF/StatefulFeatureFunction.cpp b/moses/FF/StatefulFeatureFunction.cpp
index 37b9c2dee..9e61ed05f 100644
--- a/moses/FF/StatefulFeatureFunction.cpp
+++ b/moses/FF/StatefulFeatureFunction.cpp
@@ -5,14 +5,14 @@ namespace Moses
std::vector<const StatefulFeatureFunction*> StatefulFeatureFunction::m_statefulFFs;
-StatefulFeatureFunction::StatefulFeatureFunction(const std::string& description, const std::string &line)
- : FeatureFunction(description, line)
+StatefulFeatureFunction::StatefulFeatureFunction(const std::string &line)
+ : FeatureFunction(line)
{
m_statefulFFs.push_back(this);
}
-StatefulFeatureFunction::StatefulFeatureFunction(const std::string& description, size_t numScoreComponents, const std::string &line)
- : FeatureFunction(description,numScoreComponents, line)
+StatefulFeatureFunction::StatefulFeatureFunction(size_t numScoreComponents, const std::string &line)
+ : FeatureFunction(numScoreComponents, line)
{
m_statefulFFs.push_back(this);
}