diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-06 00:33:59 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-06 00:33:59 +0300 |
commit | 4b10c59bea5284771e6a5219f28e38bd0e75f0d5 (patch) | |
tree | a70cbcc78bcb93923791d903a1f63a19f5317791 /moses/TranslationTask.h | |
parent | 6a77fd0ce3f5d3d52a20c1be808f1f7a0ffcb63b (diff) |
add OutputSearchGraphHypergraph() to API framework. Move m_source to BaseManager
Diffstat (limited to 'moses/TranslationTask.h')
-rw-r--r-- | moses/TranslationTask.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/moses/TranslationTask.h b/moses/TranslationTask.h index a169f84dd..217ffce00 100644 --- a/moses/TranslationTask.h +++ b/moses/TranslationTask.h @@ -26,11 +26,7 @@ class TranslationTask : public Moses::Task public: - TranslationTask(Moses::InputType* source, Moses::IOWrapper &ioWrapper, - boost::shared_ptr<Moses::HypergraphOutput<Moses::Manager> > hypergraphOutput); - - TranslationTask(Moses::InputType *source, IOWrapper &ioWrapper, - boost::shared_ptr<Moses::HypergraphOutput<Moses::ChartManager> > hypergraphOutputChart); + TranslationTask(Moses::InputType* source, Moses::IOWrapper &ioWrapper, int pbOrChart); ~TranslationTask(); @@ -44,9 +40,6 @@ private: Moses::InputType* m_source; Moses::IOWrapper &m_ioWrapper; - boost::shared_ptr<Moses::HypergraphOutput<Moses::Manager> > m_hypergraphOutput; - boost::shared_ptr<Moses::HypergraphOutput<Moses::ChartManager> > m_hypergraphOutputChart; - void RunPb(); void RunChart(); |