From e0bb79a01ed07cce540e5ebb757e03d801ca287e Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 11 May 2015 18:33:41 +0200 Subject: net extract --- python/cdec/lattice.pxd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/cdec/lattice.pxd') 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() -- cgit v1.2.3