mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 13:14:11 +03:00
Update jsonlcorpus constructor types
This commit is contained in:
parent
71fb00ed95
commit
8aa2d32ca9
|
@ -221,7 +221,7 @@ class JsonlCorpus:
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
path: Union[str, Path],
|
path: Optional[Union[str, Path]],
|
||||||
*,
|
*,
|
||||||
limit: int = 0,
|
limit: int = 0,
|
||||||
min_length: int = 0,
|
min_length: int = 0,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user