mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-13 01:32:32 +03:00
Fix hook
This commit is contained in:
parent
2f051c6793
commit
1e07a58abe
|
@ -511,5 +511,5 @@ def __getattr__(name):
|
|||
return module.make_span_ruler
|
||||
elif name == "make_entity_ruler":
|
||||
module = importlib.import_module("spacy.registrations")
|
||||
return module.make_future_span_ruler
|
||||
return module.make_future_entity_ruler
|
||||
raise AttributeError(f"module {__name__} has no attribute {name}")
|
||||
|
|
Loading…
Reference in New Issue
Block a user