diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-03-26 21:25:54 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-03-26 21:25:54 +0300 |
commit | 9dc75bfd8ad3092f08f7a6d2a6492323b7803e56 (patch) | |
tree | f13405e11bce5001e6718ae0089fdcf85d961c98 /moses/ChartParser.h | |
parent | 4410e9225a5bd495fc6d097b206290beb59f4839 (diff) |
Managers and feature functions now have access to the entire TranslationTask, not just the InputType.
Diffstat (limited to 'moses/ChartParser.h')
-rw-r--r-- | moses/ChartParser.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/moses/ChartParser.h b/moses/ChartParser.h index e438cf8ad..372a05f60 100644 --- a/moses/ChartParser.h +++ b/moses/ChartParser.h @@ -1,3 +1,4 @@ +// -*- c++ -*- // $Id$ // vim:tabstop=2 /*********************************************************************** @@ -42,8 +43,9 @@ class DecodeGraph; class ChartParserUnknown { + ttaskwptr m_ttask; public: - ChartParserUnknown(); + ChartParserUnknown(ttasksptr const& ttask); ~ChartParserUnknown(); void Process(const Word &sourceWord, const WordsRange &range, ChartParserCallback &to); @@ -59,8 +61,9 @@ private: class ChartParser { + ttaskwptr m_ttask; public: - ChartParser(const InputType &source, ChartCellCollectionBase &cells); + ChartParser(ttasksptr const& ttask, ChartCellCollectionBase &cells); ~ChartParser(); void Create(const WordsRange &range, ChartParserCallback &to); |