mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 04:40:20 +03:00
modified: spacy/language.py
- removed noqa comment
This commit is contained in:
parent
64cf5116b7
commit
5134892927
|
@ -1825,7 +1825,7 @@ class Language:
|
||||||
# Later we replace the component config with the raw config again.
|
# Later we replace the component config with the raw config again.
|
||||||
interpolated = filled.interpolate() if not filled.is_interpolated else filled
|
interpolated = filled.interpolate() if not filled.is_interpolated else filled
|
||||||
pipeline = interpolated.get("components", {})
|
pipeline = interpolated.get("components", {})
|
||||||
sourced = util.get_sourced_components(interpolated) # noqa: F841
|
sourced = util.get_sourced_components(interpolated)
|
||||||
# If components are loaded from a source (existing models), we cache
|
# If components are loaded from a source (existing models), we cache
|
||||||
# them here so they're only loaded once
|
# them here so they're only loaded once
|
||||||
source_nlps = {}
|
source_nlps = {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user