CLI.DataDownload¶
About:¶
The download_files command, allows users to select specific files and models to download and use it within SinaTools modules. Additionally, it automatically manages the extraction of compressed files, including zip and tar.gz formats.
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, synonyms.
If no file is specified, all files will be downloaded.
Data files and modules:¶
Data files and modules | Size | Command |
---|---|---|
Named Entity Recognition | 1.2 GB | download_files -f ner |
Word Sense Disambiguation | 1.1 GB | download_files -f wsd |
Synonyms | 68 MB | download_files -f synonyms |
Morphology Tagging | 778 MB | download_files -f morph |
Relation Extraction | 624 MB | download_files -f relations |
All | 3.68 GB | download_files |
Examples:¶
download_files -f morph ner
This command will download only the `morph` and `ner` files to the default directory.