From 307d6bf6d3c715a9f934c38d43ff4c02c143a960 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 16 Mar 2018 10:59:31 +0100 Subject: [PATCH] Fix parser for Thinc 6.11 --- spacy/syntax/nn_parser.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/syntax/nn_parser.pyx b/spacy/syntax/nn_parser.pyx index 24d52febb..c14253ee8 100644 --- a/spacy/syntax/nn_parser.pyx +++ b/spacy/syntax/nn_parser.pyx @@ -466,7 +466,7 @@ cdef class Parser: # TODO: These methods in Thinc are confusing at the moment, and # quite backwards. But this currently does what we need. MatVec.batch_T_dot(scores, - hW, vectors, nr_class, nr_hidden, nr_todo) + hW, vectors, nr_hidden, nr_class, nr_todo) # Add bias for i in range(nr_todo): VecVec.add_i(&scores[i*nr_class],