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 | 118013befdcdcaf96c64657439c441f0108fbdcc (patch) | |
tree | f19b3a0c9d91f6eadbfbca21740abe00ad93aa30 /python/cdec/sa/bilex.pxi | |
parent | 604b4464e7e3f8b90145c7039d5672e6638c0dd3 (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 |