From 83acaa03581ed39ee54a2144fa9fc4c101418628 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 15 May 2018 19:01:53 +0200 Subject: [PATCH] Add missing name attribute for parser --- spacy/syntax/nn_parser.pyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/syntax/nn_parser.pyx b/spacy/syntax/nn_parser.pyx index a0accf3ac..21ee603a3 100644 --- a/spacy/syntax/nn_parser.pyx +++ b/spacy/syntax/nn_parser.pyx @@ -85,6 +85,8 @@ cdef class Parser: } return ParserModel(tok2vec, lower, upper), cfg + name = 'base_parser' + def __init__(self, Vocab vocab, moves=True, model=True, **cfg): """Create a Parser.