summaryrefslogtreecommitdiff
path: root/python/src/sa/suffix_array.pxi
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/sa/suffix_array.pxi')
-rw-r--r--python/src/sa/suffix_array.pxi12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/src/sa/suffix_array.pxi b/python/src/sa/suffix_array.pxi
index d86e8ea6..baa3d546 100644
--- a/python/src/sa/suffix_array.pxi
+++ b/python/src/sa/suffix_array.pxi
@@ -20,14 +20,14 @@ cdef class SuffixArray:
def __getitem__(self, i):
return self.sa.arr[i]
- def getSentId(self, i):
- return self.darray.getSentId(i)
+ def get_sentence_id(self, i):
+ return self.darray.get_sentence_id(i)
- def getSent(self, i):
- return self.darray.getSent(i)
+ def get_sentence(self, i):
+ return self.darray.get_sentence(i)
- def getSentPos(self, loc):
- return self.darray.getSentPos(loc)
+ def get_sentence_position(self, loc):
+ return self.darray.get_sentence_position(loc)
def read_text(self, filename, side):
'''Constructs suffix array using the algorithm