mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-13 01:32:32 +03:00
Fix syntax
This commit is contained in:
parent
216ef7ee7a
commit
f6b1546a74
|
@ -336,7 +336,7 @@ def register_factories() -> None:
|
||||||
scorer: Optional[Callable],
|
scorer: Optional[Callable],
|
||||||
ent_id_sep: str,
|
ent_id_sep: str,
|
||||||
):
|
):
|
||||||
if overwrite_ents:
|
if overwrite_ents:
|
||||||
ents_filter = prioritize_new_ents_filter
|
ents_filter = prioritize_new_ents_filter
|
||||||
else:
|
else:
|
||||||
ents_filter = prioritize_existing_ents_filter
|
ents_filter = prioritize_existing_ents_filter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user