summaryrefslogtreecommitdiff
path: root/sa-extract/csuf.pxd
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-25 23:57:56 -0400
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-25 23:57:56 -0400
commit0aac9fd78f1c8b9ba3d91d702f592288075cbbde (patch)
tree35e0f1b77bed6df0a65232899dee8d087888bf79 /sa-extract/csuf.pxd
parent0ee6610cf1c0ab342e438879b8a5fe4046e33189 (diff)
parentacae00bbe2c2d43bf0606cd7cc268d93179e077f (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'sa-extract/csuf.pxd')
-rw-r--r--sa-extract/csuf.pxd5
1 files changed, 3 insertions, 2 deletions
diff --git a/sa-extract/csuf.pxd b/sa-extract/csuf.pxd
index f44167dd..972f0178 100644
--- a/sa-extract/csuf.pxd
+++ b/sa-extract/csuf.pxd
@@ -5,7 +5,8 @@ cdef class SuffixArray:
cdef cdat.DataArray darray
cdef cintlist.CIntList sa
cdef cintlist.CIntList ha
+ # cdef lookup(self, word, int offset, int low, int high)
cdef __lookup_helper(self, int word_id, int offset, int low, int high)
cdef __get_range(self, int word_id, int offset, int low, int high, int midpoint)
- cdef __search_low(self, int word_id, int offset, int low, int high)
- cdef __search_high(self, word_id, offset, low, high)
+ cdef int __search_low(self, int word_id, int offset, int low, int high)
+ cdef int __search_high(self, int word_id, int offset, int low, int high)