summaryrefslogtreecommitdiff
path: root/python/cdec/lattice.pxd
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-05-11 18:33:41 +0200
committerPatrick Simianer <p@simianer.de>2015-05-11 18:33:41 +0200
commite0bb79a01ed07cce540e5ebb757e03d801ca287e (patch)
treefd18de4ebd7a3ae12a469cb0134cf59778f0b19a /python/cdec/lattice.pxd
parentd0b8fa29b83e6424e6d5848dbc42734b03896304 (diff)
net extract
Diffstat (limited to 'python/cdec/lattice.pxd')
-rw-r--r--python/cdec/lattice.pxd6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/cdec/lattice.pxd b/python/cdec/lattice.pxd
index 8ad710e5..ed290d5a 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]& features, int i)
cdef cppclass Lattice(vector): # (vector[vector[LatticeArc]])
Lattice()