diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-09-15 23:00:01 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-09-15 23:00:01 -0400 |
commit | 3822a2063e36b6ced948e5c22910a373c6c691b2 (patch) | |
tree | 208dab2df693adf2f8bdb9561eb6dbd92e2ac5c6 /python/cdec/sa/bilex.pxi | |
parent | 24e0ff67a5e63ff987755ef128d2b056fbdcd603 (diff) |
migrate to new Cython version
Diffstat (limited to 'python/cdec/sa/bilex.pxi')
-rw-r--r-- | python/cdec/sa/bilex.pxi | 11 |
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 |