mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Make spacy.load kwargs keyword-only
This commit is contained in:
parent
53a3b967ac
commit
fbf3a755d7
|
@ -28,6 +28,7 @@ if sys.maxunicode == 65535:
|
||||||
|
|
||||||
def load(
|
def load(
|
||||||
name: Union[str, Path],
|
name: Union[str, Path],
|
||||||
|
*,
|
||||||
disable: Iterable[str] = util.SimpleFrozenList(),
|
disable: Iterable[str] = util.SimpleFrozenList(),
|
||||||
exclude: Iterable[str] = util.SimpleFrozenList(),
|
exclude: Iterable[str] = util.SimpleFrozenList(),
|
||||||
config: Union[Dict[str, Any], Config] = util.SimpleFrozenDict(),
|
config: Union[Dict[str, Any], Config] = util.SimpleFrozenDict(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user