summaryrefslogtreecommitdiff
path: root/python/cdec/kbest.pxd
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-05-17 17:46:27 -0400
committerChris Dyer <redpony@gmail.com>2014-05-17 17:46:27 -0400
commit7df4ea789cdb4ec3948d4d133389ba2300f99fa8 (patch)
tree850d84d89110bb66c2f8c904c2ea737e025f592b /python/cdec/kbest.pxd
parentbb3f703d572e9f4a4b971bfa2483e0caf060587d (diff)
parentcddd94b202388b1e54bf94244ee70e261374b0ff (diff)
Merge branch 'master' of https://github.com/redpony/cdec
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