From 1ce5d5602d68e828b8e2be3778e15155be1a6ee1 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 4 Nov 2015 00:17:13 +1100 Subject: [PATCH] * Rename Doc.data to Doc.c --- spacy/serialize/packer.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/serialize/packer.pyx b/spacy/serialize/packer.pyx index ae1c4ec99..62451073c 100644 --- a/spacy/serialize/packer.pyx +++ b/spacy/serialize/packer.pyx @@ -155,10 +155,10 @@ cdef class Packer: self.char_codec.encode(bytearray(utf8_str), bits) cdef int i, j 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(True) - if doc.data[i].spacy: + if doc.c[i].spacy: bits.append(False) return bits