This commit is contained in:
Kevin Humphreys 2022-08-24 15:04:09 +02:00
parent ee985a382e
commit 9600fe1d99

View File

@ -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"`