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>2015-02-08 03:50:23 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-02-08 03:50:23 +0300
commit066a681b43a4e153db5789ae0b3a39b623030a93 (patch)
tree2ec56cf99ad0ba145bfcdc53c068027606874fc6 /moses/WordLattice.h
parent755bd609f506fa6ce68a935f72499e055a6a4b6c (diff)
fix word lattice input feature for non-binary pt
Diffstat (limited to 'moses/WordLattice.h')
-rw-r--r--moses/WordLattice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/WordLattice.h b/moses/WordLattice.h
index 325271234..dc1582d78 100644
--- a/moses/WordLattice.h
+++ b/moses/WordLattice.h
@@ -21,6 +21,10 @@ private:
public:
WordLattice();
+
+ InputTypeEnum GetType() const
+ { return WordLatticeInput; }
+
size_t GetColumnIncrement(size_t ic, size_t j) const;
void Print(std::ostream&) const;
/** Get shortest path between two nodes