summaryrefslogtreecommitdiff
path: root/python/src/sa/data_array.pxi
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/sa/data_array.pxi')
-rw-r--r--python/src/sa/data_array.pxi3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/src/sa/data_array.pxi b/python/src/sa/data_array.pxi
index 2626ce0f..ce2d3a79 100644
--- a/python/src/sa/data_array.pxi
+++ b/python/src/sa/data_array.pxi
@@ -32,6 +32,9 @@ cdef class DataArray:
def __len__(self):
return len(self.data)
+ def get_data(self):
+ return self.data
+
def get_sentence_id(self, i):
return self.sent_id.arr[i]