diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-03-30 03:20:17 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-03-30 03:20:17 +0300 |
commit | fcbfc5a535522328cd9c7abfc7f0680d93c3c9f4 (patch) | |
tree | 3c6c00c783fb098e1448c6c8ed4740c77431efae /moses/WordLattice.h | |
parent | 79cd40d2c487179565bdd05947cb11c996c3ce14 (diff) |
Feature functions and the constructors of TranslationOptionCollections
now have access to the current translation task.
This was done to allow context-sensitive processing (if provided by the FF).
Diffstat (limited to 'moses/WordLattice.h')
-rw-r--r-- | moses/WordLattice.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/moses/WordLattice.h b/moses/WordLattice.h index d8f93a4b4..70c2122d4 100644 --- a/moses/WordLattice.h +++ b/moses/WordLattice.h @@ -1,3 +1,4 @@ +// -*- c++ -*- #ifndef moses_WordLattice_h #define moses_WordLattice_h @@ -53,7 +54,8 @@ public: return next_nodes[pos]; } - TranslationOptionCollection *CreateTranslationOptionCollection() const; + TranslationOptionCollection* + CreateTranslationOptionCollection(ttasksptr const& ttask) const; }; } |