* Rename Doc.data to Doc.c

This commit is contained in:
Matthew Honnibal 2015-11-04 00:17:13 +11:00
parent 68f479e821
commit 1ce5d5602d

View File

@ -155,10 +155,10 @@ cdef class Packer:
self.char_codec.encode(bytearray(utf8_str), bits) self.char_codec.encode(bytearray(utf8_str), bits)
cdef int i, j cdef int i, j
for i in range(doc.length): for i in range(doc.length):
for j in range(doc.data[i].lex.length-1): for j in range(doc.c[i].lex.length-1):
bits.append(False) bits.append(False)
bits.append(True) bits.append(True)
if doc.data[i].spacy: if doc.c[i].spacy:
bits.append(False) bits.append(False)
return bits return bits