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:
authorHieu Hoang <hieuhoang@gmail.com>2017-02-01 01:21:59 +0300
committerHieu Hoang <hieuhoang@gmail.com>2017-02-01 01:21:59 +0300
commita8a5b43f2dc32bd1b45006fd43989dc71e74ba0e (patch)
treee84a78fa005e29ec78076d6e525371240871122c /moses2/TranslationTask.h
parent7206d592751ee9afeb1fa4753b7e19272e2585bc (diff)
move moses2 to root
Diffstat (limited to 'moses2/TranslationTask.h')
-rw-r--r--moses2/TranslationTask.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/moses2/TranslationTask.h b/moses2/TranslationTask.h
new file mode 100644
index 000000000..bf2330357
--- /dev/null
+++ b/moses2/TranslationTask.h
@@ -0,0 +1,25 @@
+#pragma once
+#include <string>
+#include "legacy/ThreadPool.h"
+
+namespace Moses2
+{
+
+class System;
+class ManagerBase;
+class Manager;
+
+class TranslationTask: public Task
+{
+public:
+
+ TranslationTask(System &system, const std::string &line, long translationId);
+ virtual ~TranslationTask();
+ virtual void Run();
+
+protected:
+ ManagerBase *m_mgr;
+};
+
+}
+