From ea4ff94cdea16ce3edc0a17689914cd0e0c3802e Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 29 Jan 2016 03:59:22 +0100 Subject: [PATCH] * Whitespace --- spacy/serialize/packer.pyx | 2 -- 1 file changed, 2 deletions(-) diff --git a/spacy/serialize/packer.pyx b/spacy/serialize/packer.pyx index 62451073c..a79120cac 100644 --- a/spacy/serialize/packer.pyx +++ b/spacy/serialize/packer.pyx @@ -123,11 +123,9 @@ cdef class Packer: self._orth_decode(bits, length, doc) else: self._char_decode(bits, -length, doc) - array = numpy.zeros(shape=(len(doc), len(self._codecs)), dtype=numpy.int32) for i, codec in enumerate(self._codecs): codec.decode(bits, array[:, i]) - doc.from_array(self.attrs, array) return doc