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