Make spacy.load kwargs keyword-only

This commit is contained in:
Adriane Boyd 2021-03-11 09:36:58 +01:00
parent 53a3b967ac
commit fbf3a755d7
1 changed files with 1 additions and 0 deletions

View File

@ -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(),