mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-15 14:42:00 +03:00
Disable validation
This commit is contained in:
parent
7aba379bc5
commit
5c7c732c49
|
@ -676,6 +676,7 @@ class Language:
|
|||
|
||||
DOCS: https://spacy.io/api/language#create_pipe
|
||||
"""
|
||||
validate = False
|
||||
name = name if name is not None else factory_name
|
||||
if not isinstance(config, dict):
|
||||
err = Errors.E962.format(style="config", name=name, cfg_type=type(config))
|
||||
|
|
Loading…
Reference in New Issue
Block a user