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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-03-30 03:20:17 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-03-30 03:20:17 +0300
commitfcbfc5a535522328cd9c7abfc7f0680d93c3c9f4 (patch)
tree3c6c00c783fb098e1448c6c8ed4740c77431efae /moses/Sentence.h
parent79cd40d2c487179565bdd05947cb11c996c3ce14 (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/Sentence.h')
-rw-r--r--moses/Sentence.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/Sentence.h b/moses/Sentence.h
index fe3ac642e..958b3ffc4 100644
--- a/moses/Sentence.h
+++ b/moses/Sentence.h
@@ -98,7 +98,8 @@ namespace Moses
virtual int Read(std::istream& in,const std::vector<FactorType>& factorOrder);
void Print(std::ostream& out) const;
- TranslationOptionCollection* CreateTranslationOptionCollection() const;
+ TranslationOptionCollection*
+ CreateTranslationOptionCollection(ttasksptr const& ttask) const;
virtual void
CreateFromString(std::vector<FactorType> const &factorOrder,