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/ChartManager.h | |
parent | b75d19483341828c51a370eeff4ff89f807a6b42 (diff) |
delete class TranslationSystem
Diffstat (limited to 'moses/ChartManager.h')
-rw-r--r-- | moses/ChartManager.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/moses/ChartManager.h b/moses/ChartManager.h index 20f1815e0..7f3f24a0b 100644 --- a/moses/ChartManager.h +++ b/moses/ChartManager.h @@ -28,7 +28,6 @@ #include "InputType.h" #include "WordsRange.h" #include "SentenceStats.h" -#include "TranslationSystem.h" #include "ChartTranslationOptionList.h" #include "ChartParser.h" @@ -58,7 +57,6 @@ private: InputType const& m_source; /**< source sentence to be translated */ ChartCellCollection m_hypoStackColl; std::auto_ptr<SentenceStats> m_sentenceStats; - const TranslationSystem* m_system; clock_t m_start; /**< starting time, used for logging */ unsigned m_hypothesisId; /* For handing out hypothesis ids to ChartHypothesis */ @@ -73,7 +71,7 @@ private: void PreCalculateScores(); public: - ChartManager(InputType const& source, const TranslationSystem* system); + ChartManager(InputType const& source); ~ChartManager(); void ProcessSentence(); void AddXmlChartOptions(); @@ -88,11 +86,6 @@ public: return m_source; } - //! which particular set of models is in use - const TranslationSystem* GetTranslationSystem() const { - return m_system; - } - //! debug data collected when decoding sentence SentenceStats& GetSentenceStats() const { return *m_sentenceStats; |