Languages: Hindi, English, Malyalam, Gujarati, Tamil and Telugu
Install Instructions:
- Download the dist directory
- Do pip install 'location of dist'
- You can import codemix in your code now <<<<<<< HEAD =======
- Run the toolkit in an Anaconda environment.
- This modified docker image contains API calls to utilise the aligner and codemix-generator functionalities in a simple manner.
- Link to docker hub: https://hub.docker.com/r/prakod/gcm-codemix-generator
- Alternatively, use the command
docker pull prakod/gcm-codemix-generator
docker run -p 5000:5000 -p 6000:6000 prakod/codemix-gcm-generator (this can alternatively be done using Docker desktop)
- This will create a container based on the Docker image. Get the ID of the container (using the Desktop app or
docker ps
) - Then run:
docker exec -it <container_id> bash
- This will create a bash terminal for you to perform operations on the container.
conda activate gcm-venv
git clone https://github.com/prashantkodali/CodeMixToolkit.git
jupyter notebook --ip 0.0.0.0 --port 5000 --no-browser --allow-root
-
Ensure you are in the "library" folder
-
Run these commands:
>>> export FLASK_APP=gcmgenerator
>>> flask run -h 0.0.0.0 -p 6000
- (change port and host details as required)
d3f9b6f1c18af985471d67d8ed2a2109dce2a082