mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
fix type
This commit is contained in:
parent
3a63ad1913
commit
426f3349d4
|
@ -90,7 +90,7 @@ class EntityRuler(Pipe):
|
|||
ent_id_sep: str = DEFAULT_ENT_ID_SEP,
|
||||
patterns: Optional[List[PatternType]] = None,
|
||||
scorer: Optional[Callable] = entity_ruler_score,
|
||||
fuzzy: Optional[float] = None,
|
||||
fuzzy: float = None,
|
||||
) -> None:
|
||||
"""Initialize the entity ruler. If patterns are supplied here, they
|
||||
need to be a list of dictionaries with a `"label"` and `"pattern"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user