diff options
Diffstat (limited to 'python/src/lattice.pxd')
-rw-r--r-- | python/src/lattice.pxd | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/python/src/lattice.pxd b/python/src/lattice.pxd deleted file mode 100644 index 8ad710e5..00000000 --- a/python/src/lattice.pxd +++ /dev/null @@ -1,20 +0,0 @@ -from libcpp.vector cimport vector -from libcpp.string cimport string -from utils cimport WordID - -cdef extern from "decoder/lattice.h": - cdef cppclass LatticeArc: - WordID label - double cost - int dist2next - LatticeArc() - LatticeArc(WordID w, double c, int i) - - cdef cppclass Lattice(vector): # (vector[vector[LatticeArc]]) - Lattice() - bint IsSentence() - vector[LatticeArc]& operator[](unsigned) - void resize(unsigned) - -cdef extern from "decoder/lattice.h" namespace "LatticeTools": - void ConvertTextOrPLF(string& text, Lattice* pl) |