diff options
Diffstat (limited to 'python/cdec/lattice.pxd')
-rw-r--r-- | python/cdec/lattice.pxd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/cdec/lattice.pxd b/python/cdec/lattice.pxd index 8ad710e5..2ba9ac31 100644 --- a/python/cdec/lattice.pxd +++ b/python/cdec/lattice.pxd @@ -1,14 +1,14 @@ from libcpp.vector cimport vector from libcpp.string cimport string -from utils cimport WordID +from utils cimport * cdef extern from "decoder/lattice.h": cdef cppclass LatticeArc: WordID label - double cost + FastSparseVector[double] features int dist2next LatticeArc() - LatticeArc(WordID w, double c, int i) + LatticeArc(WordID w, FastSparseVector[double] c, int i) cdef cppclass Lattice(vector): # (vector[vector[LatticeArc]]) Lattice() |