Add missing name attribute for parser

This commit is contained in:
Matthew Honnibal 2018-05-15 19:01:53 +02:00
parent f328c195ca
commit 83acaa0358

View File

@ -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.