From 7fea845374eb99ba2a31ef16370a324d2d61aca9 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 3 Nov 2017 14:04:51 +0100 Subject: [PATCH] Remove print statement --- spacy/syntax/nn_parser.pyx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spacy/syntax/nn_parser.pyx b/spacy/syntax/nn_parser.pyx index 7b7a35700..fc48f2337 100644 --- a/spacy/syntax/nn_parser.pyx +++ b/spacy/syntax/nn_parser.pyx @@ -746,10 +746,9 @@ cdef class Parser: for j in range(doc.length): doc.c[j] = state.c._sent[j] if tensors is not None: - print(doc.tensor.shape) - doc.extend_tensor(tensors[i]) self.moves.finalize_doc(doc) + for hook in self.postprocesses: for doc in docs: hook(doc)