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/InputType.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/InputType.h')
-rw-r--r-- | moses/InputType.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/InputType.h b/moses/InputType.h index ea03ec23e..bb872249d 100644 --- a/moses/InputType.h +++ b/moses/InputType.h @@ -181,7 +181,7 @@ public: //! create trans options specific to this InputType virtual TranslationOptionCollection* - CreateTranslationOptionCollection() const=0; + CreateTranslationOptionCollection(ttasksptr const& ttask) const=0; //! return substring. Only valid for Sentence class. TODO - get rid of this fn virtual Phrase GetSubString(const WordsRange&) const =0; |