mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Catch all kwargs on Language
This commit is contained in:
parent
0d7d50fe22
commit
6145fe6a93
|
@ -132,7 +132,7 @@ class Language(object):
|
|||
Defaults = BaseDefaults
|
||||
lang = None
|
||||
|
||||
def __init__(self, vocab=True, make_doc=True, pipeline=None, meta={}):
|
||||
def __init__(self, vocab=True, make_doc=True, pipeline=None, meta={}, **kwargs):
|
||||
"""Initialise a Language object.
|
||||
|
||||
vocab (Vocab): A `Vocab` object. If `True`, a vocab is created via
|
||||
|
|
Loading…
Reference in New Issue
Block a user