spaCy/spacy/en/download.py

14 lines
232 B
Python
Raw Normal View History

2015-11-15 17:58:21 +03:00
import plac
from ..download import download
@plac.annotations(
force=("Force overwrite", "flag", "f", bool),
)
2015-11-18 19:35:21 +03:00
def main(data_size='all', force=False):
download('en', force)
2015-01-02 13:44:41 +03:00
if __name__ == '__main__':
2015-01-31 05:51:56 +03:00
plac.call(main)