Code Repository for Scripts and Utils for downloading and curating Indic Data from archive.org Files.
Create a virtual environment and install required python dependencies provided in the requirements.txt file.
In the pipeline folder, We have Single Machine Download Python Script for downloading archive data into your machine. The script requires a list of language names i.e. Dogri, Tamil, Hindi, etc. followed by optional arguments such as pdf_only and id_only download options.
This setup was utilized so that we can download data onto machines with more storage and parallelize downloads.
Note : You will have to setup RabbitMQ in your server and client machines and configure the Credentials file accordingly.
In the pipeline folder, We have two files :
-
Multiple Machine Server for queueing the identifiers from the identifiers.csv file downloaded from the previous section using id_only parameter.
-
Multiple Machine Client for pulling identifiers from server host and downloading data onto client machine.