summaryrefslogtreecommitdiff
path: root/python/cdec/kbest.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'python/cdec/kbest.pxd')
-rw-r--r--python/cdec/kbest.pxd8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/cdec/kbest.pxd b/python/cdec/kbest.pxd
index 44ecfbab..ecf1fc00 100644
--- a/python/cdec/kbest.pxd
+++ b/python/cdec/kbest.pxd
@@ -13,7 +13,13 @@ cdef extern from "decoder/viterbi.h":
pass
cdef extern from "decoder/kbest.h" namespace "KBest":
- cdef cppclass KBestDerivations[T, Traversal]:
+ cdef cppclass NoFilter[Dummy]:
+ pass
+
+ cdef cppclass FilterUnique:
+ pass
+
+ cdef cppclass KBestDerivations[T, Traversal, Filter]:
cppclass Derivation:
T _yield "yield"
KBestDerivations(Hypergraph& hg, unsigned k) nogil