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-05-30 14:25:57 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-30 14:25:57 +0400
commitb61a57d654e1cfc7c0e5a2eef59e3eab45b31524 (patch)
tree7a226c73faa5290a016cc2b57f07b84f873e7201 /moses/DecodeStepGeneration.cpp
parent84ec2043b7d100ac9ac07aa7ad8c5bf577dcad8b (diff)
figure out which feature function to apply at which decode step. Book-keeping
Diffstat (limited to 'moses/DecodeStepGeneration.cpp')
-rw-r--r--moses/DecodeStepGeneration.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/moses/DecodeStepGeneration.cpp b/moses/DecodeStepGeneration.cpp
index 6dbca405a..8a9909cfc 100644
--- a/moses/DecodeStepGeneration.cpp
+++ b/moses/DecodeStepGeneration.cpp
@@ -30,8 +30,10 @@ namespace Moses
{
using namespace std;
-DecodeStepGeneration::DecodeStepGeneration(const GenerationDictionary* dict, const DecodeStep* prev)
- : DecodeStep(dict, prev)
+DecodeStepGeneration::DecodeStepGeneration(const GenerationDictionary* dict,
+ const DecodeStep* prev,
+ const std::vector<FeatureFunction*> &features)
+: DecodeStep(dict, prev, features)
{
}