summaryrefslogtreecommitdiff
path: root/python/cdec/kbest.pxd
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-12 13:56:42 +0200
committerPatrick Simianer <p@simianer.de>2014-06-12 13:56:42 +0200
commit244971287003d079e46193b8a209c28955f90134 (patch)
tree8beaae6b12b913acb213fc7f2415fd63886192f9 /python/cdec/kbest.pxd
parent5250fd67a4b8f242068cff87f0a6a4211f8b0fcf (diff)
parentb66e838ed52decc0be1eb5817b2a77c3840db2c5 (diff)
Merge remote-tracking branch 'upstream/master'
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