mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 04:40:20 +03:00
fix type definition
This commit is contained in:
parent
2243803b34
commit
561adacb6e
|
@ -6,7 +6,7 @@ from ..tokens import Doc, Span
|
||||||
|
|
||||||
class Matcher:
|
class Matcher:
|
||||||
def __init__(self, vocab: Vocab, validate: bool = ...,
|
def __init__(self, vocab: Vocab, validate: bool = ...,
|
||||||
fuzzy_compare: Optional[Callable[[str, str, int]], bool] = ...) -> None: ...
|
fuzzy_compare: Optional[Callable[[str, str, int], bool]] = ...) -> None: ...
|
||||||
def __reduce__(self) -> Any: ...
|
def __reduce__(self) -> Any: ...
|
||||||
def __len__(self) -> int: ...
|
def __len__(self) -> int: ...
|
||||||
def __contains__(self, key: str) -> bool: ...
|
def __contains__(self, key: str) -> bool: ...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user