diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-12 13:56:42 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-12 13:56:42 +0200 |
commit | 244971287003d079e46193b8a209c28955f90134 (patch) | |
tree | 8beaae6b12b913acb213fc7f2415fd63886192f9 /python/cdec/kbest.pxd | |
parent | 5250fd67a4b8f242068cff87f0a6a4211f8b0fcf (diff) | |
parent | b66e838ed52decc0be1eb5817b2a77c3840db2c5 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'python/cdec/kbest.pxd')
-rw-r--r-- | python/cdec/kbest.pxd | 8 |
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 |