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>2014-10-07 22:16:30 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-10-07 22:16:30 +0400
commit433186ae255ec2e446e067530bee26a8ec11afcd (patch)
tree16cc563343ae3d4490055aa48948f53caa66fabf /moses/TranslationTask.h
parent0d7048803a44d8481528cf1264f5513e8eb94571 (diff)
delete lineNumber variable from Manager and TranslationTask. It should always be carried by the input sentence itself
Diffstat (limited to 'moses/TranslationTask.h')
-rw-r--r--moses/TranslationTask.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/TranslationTask.h b/moses/TranslationTask.h
index edd2ca347..39a66a74a 100644
--- a/moses/TranslationTask.h
+++ b/moses/TranslationTask.h
@@ -26,7 +26,7 @@ class TranslationTask : public Moses::Task
public:
- TranslationTask(size_t lineNumber, Moses::InputType* source, MosesCmd::IOWrapper &ioWrapper,
+ TranslationTask(Moses::InputType* source, MosesCmd::IOWrapper &ioWrapper,
bool outputSearchGraphSLF,
boost::shared_ptr<Moses::HypergraphOutput<Moses::Manager> > hypergraphOutput);
@@ -39,7 +39,6 @@ public:
private:
Moses::InputType* m_source;
- size_t m_lineNumber;
MosesCmd::IOWrapper &m_ioWrapper;
bool m_outputSearchGraphSLF;