summaryrefslogtreecommitdiff
path: root/python/src/lattice.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/lattice.pxd')
-rw-r--r--python/src/lattice.pxd5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/src/lattice.pxd b/python/src/lattice.pxd
index 3a4bc22f..8ad710e5 100644
--- a/python/src/lattice.pxd
+++ b/python/src/lattice.pxd
@@ -12,10 +12,9 @@ cdef extern from "decoder/lattice.h":
cdef cppclass Lattice(vector): # (vector[vector[LatticeArc]])
Lattice()
- Lattice(unsigned t)
- Lattice(unsigned t, vector[LatticeArc]& v)
bint IsSentence()
vector[LatticeArc]& operator[](unsigned)
+ void resize(unsigned)
cdef extern from "decoder/lattice.h" namespace "LatticeTools":
- void ConvertTextToLattice(string& text, Lattice* pl)
+ void ConvertTextOrPLF(string& text, Lattice* pl)