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/DecodeStepTranslation.cpp | |
parent | 84ec2043b7d100ac9ac07aa7ad8c5bf577dcad8b (diff) |
figure out which feature function to apply at which decode step. Book-keeping
Diffstat (limited to 'moses/DecodeStepTranslation.cpp')
-rw-r--r-- | moses/DecodeStepTranslation.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/moses/DecodeStepTranslation.cpp b/moses/DecodeStepTranslation.cpp index e4dbb673d..755320830 100644 --- a/moses/DecodeStepTranslation.cpp +++ b/moses/DecodeStepTranslation.cpp @@ -29,8 +29,10 @@ using namespace std; namespace Moses { -DecodeStepTranslation::DecodeStepTranslation(const PhraseDictionary* pdf, const DecodeStep* prev) - : DecodeStep(pdf, prev) +DecodeStepTranslation::DecodeStepTranslation(const PhraseDictionary* pdf, + const DecodeStep* prev, + const std::vector<FeatureFunction*> &features) +: DecodeStep(pdf, prev, features) { } |