diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-30 14:25:57 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-30 14:25:57 +0400 |
commit | b61a57d654e1cfc7c0e5a2eef59e3eab45b31524 (patch) | |
tree | 7a226c73faa5290a016cc2b57f07b84f873e7201 /moses/DecodeStepGeneration.cpp | |
parent | 84ec2043b7d100ac9ac07aa7ad8c5bf577dcad8b (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.cpp | 6 |
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) { } |