mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Add missing name attribute for parser
This commit is contained in:
parent
f328c195ca
commit
83acaa0358
|
@ -85,6 +85,8 @@ cdef class Parser:
|
||||||
}
|
}
|
||||||
return ParserModel(tok2vec, lower, upper), cfg
|
return ParserModel(tok2vec, lower, upper), cfg
|
||||||
|
|
||||||
|
name = 'base_parser'
|
||||||
|
|
||||||
def __init__(self, Vocab vocab, moves=True, model=True, **cfg):
|
def __init__(self, Vocab vocab, moves=True, model=True, **cfg):
|
||||||
"""Create a Parser.
|
"""Create a Parser.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user