diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2013-05-11 17:13:26 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2013-05-11 17:13:26 +0400 |
commit | 981351758a394ea06ea22cdd810d0735a9af3c9b (patch) | |
tree | 5a6f98e9146e11c2b957500626b54ffb2059bf6a /moses/ChartParser.h | |
parent | b75d19483341828c51a370eeff4ff89f807a6b42 (diff) |
delete class TranslationSystem
Diffstat (limited to 'moses/ChartParser.h')
-rw-r--r-- | moses/ChartParser.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/moses/ChartParser.h b/moses/ChartParser.h index 720199f3e..9d8baa649 100644 --- a/moses/ChartParser.h +++ b/moses/ChartParser.h @@ -33,7 +33,6 @@ namespace Moses class ChartParserCallback; class ChartRuleLookupManager; class InputType; -class TranslationSystem; class ChartCellCollectionBase; class Word; class Phrase; @@ -42,13 +41,12 @@ class DecodeGraph; class ChartParserUnknown { public: - ChartParserUnknown(const TranslationSystem &system); + ChartParserUnknown(); ~ChartParserUnknown(); void Process(const Word &sourceWord, const WordsRange &range, ChartParserCallback &to); private: - const TranslationSystem &m_system; std::vector<Phrase*> m_unksrcs; std::list<TargetPhraseCollection*> m_cacheTargetPhraseCollection; StackVec m_emptyStackVec; @@ -56,7 +54,7 @@ class ChartParserUnknown { class ChartParser { public: - ChartParser(const InputType &source, const TranslationSystem &system, ChartCellCollectionBase &cells); + ChartParser(const InputType &source, ChartCellCollectionBase &cells); ~ChartParser(); void Create(const WordsRange &range, ChartParserCallback &to); |