summaryrefslogtreecommitdiff
path: root/sa-extract/csuf.pxd
blob: f44167dde06ae77644f6cd05da12924b4598122a (plain)
1
2
3
4
5
6
7
8
9
10
11
cimport cdat
cimport cintlist

cdef class SuffixArray:
	cdef cdat.DataArray darray
	cdef cintlist.CIntList sa
	cdef cintlist.CIntList ha
	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)