4a681a3332 | ||
---|---|---|
.ipynb_checkpoints | ||
InteractiveTranslation | ||
analysis | ||
gpt | ||
mt | ||
mtpara | ||
mtsimple | ||
opennmt | ||
static | ||
templates | ||
.azure-demo | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
azure-pipelines.yml | ||
docker-compose.yml | ||
env-example | ||
graph.png | ||
manage.py | ||
opennmt.zip | ||
opt_data | ||
pred.out | ||
requirements.txt |
README.md
Introduction
Interactive Machine Translation app uses Django and jQuery as its tech stack. Please refer to their docs for any doubts.
Installation Instructions
- Generate your access keys from your profile settings (click on top right and go to security) for ELLORA.
- Clone the repository locally
git clone https://dev.azure.com/ELLORA/_git/Interactive%20Machine%20Translation inmt
. Username is your microsoft email address, password is your access key. - Install dependencies using -
python -m pip install -r requirements.txt
. Be sure to check your python version. This tool is compatible with Python3. - Make a new model folder using
mkdir model
. Download the models from https://microsoft-my.sharepoint.com/:f:/p/t-sesan/Evsn3riZxktJuterr5A09lABTVjhaL_NoH430IMgkzws9Q?e=VXzX5T and put it in model folder. - Run the server -
python manage.py runserver
- The server opens on port 8000 by default. Open
localhost:8000/simple
for the simple interface.
Keystroke Interface
The keystroke interface is a portal for translations. There is database access required and hence there more processes involved in the setup.
python manage.py makemigrations
- Generates the relational mapping for sql table creation.python manage.py migrate
- Creates sqlite db and puts tablespython manage.py superuser
- Make a admin user to access the admin interface and handle the keystroke interface. Admin portal can be accessed fromlocalhost:8000/admin
.
More details about handling Keystroke Interface to follow soon.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.