summaryrefslogtreecommitdiff
path: root/python/cdec/sa/bilex.pxi
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2014-09-15 23:00:01 -0400
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2014-09-15 23:00:01 -0400
commit3822a2063e36b6ced948e5c22910a373c6c691b2 (patch)
tree208dab2df693adf2f8bdb9561eb6dbd92e2ac5c6 /python/cdec/sa/bilex.pxi
parent24e0ff67a5e63ff987755ef128d2b056fbdcd603 (diff)
migrate to new Cython version
Diffstat (limited to 'python/cdec/sa/bilex.pxi')
-rw-r--r--python/cdec/sa/bilex.pxi11
1 files changed, 9 insertions, 2 deletions
diff --git a/python/cdec/sa/bilex.pxi b/python/cdec/sa/bilex.pxi
index 73ba99c1..457ccadd 100644
--- a/python/cdec/sa/bilex.pxi
+++ b/python/cdec/sa/bilex.pxi
@@ -71,9 +71,16 @@ cdef class BiLex:
cdef compute_from_data(self, SuffixArray fsa, DataArray eda, Alignment aa):
cdef int sent_id, num_links, l, i, j, f_i, e_j, I, J, V_E, V_F, num_pairs
- cdef int *fsent, *esent, *alignment, *links, *ealigned, *faligned
+ cdef int *fsent
+ cdef int *esent
+ cdef int *alignment
+ cdef int *links
+ cdef int *ealigned
+ cdef int *faligned
cdef _node** dict
- cdef int *fmargin, *emargin, *count
+ cdef int *fmargin
+ cdef int *emargin
+ cdef int *count
cdef int null_word
null_word = 0