mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
15 lines
336 B
Python
15 lines
336 B
Python
import plac
|
|
from ..download import download
|
|
|
|
|
|
@plac.annotations(
|
|
force=("Force overwrite", "flag", "f", bool),
|
|
data_path=("Path to download model", "option", "d", str)
|
|
)
|
|
def main(data_size='all', force=False, data_path=None):
|
|
download('de', force=force, data_path=data_path)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
plac.call(main)
|