CLI.DataDownload¶
About:¶
The download_files command is a command-line interface for downloading various NLP resources from pre-specified URLs. It is a part of the SinaTools package and provides options to choose which files to download and to specify a download directory. The tool automatically handles file extraction for zip and tar.gz files.
Usage:¶
Below is the usage information that can be generated by running download_files --help.
download_files [OPTIONS]
Options:¶
-f, --files FILES
Names of the files to download. Available files are: ner, morph, wsd_model, wsd_tokenizer, glosses_dic, lemma_dic, five_grams, four_grams, three_grams, two_grams.
If no file is specified, all files will be downloaded.
Examples:¶
download_files -f morph ner
This command will download only the `morph` and `ner` files to the default directory.