Interactive Neural Machine Translation tool
Перейти к файлу
tanuja-ganu 4a681a3332 Update azure-pipelines.yml for running credscan on windows image. 2020-03-06 15:18:47 +05:30
.ipynb_checkpoints Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
InteractiveTranslation Merged PR 6: Add mouse suggestion selection functionality 2020-01-13 11:03:21 +00:00
analysis Merged PR 7: User Study Analysis 2020-01-13 11:10:14 +00:00
gpt Add Simple Interfacefeatures to Keystroke Interface 2019-08-08 11:32:07 +05:30
mt Merged PR 6: Add mouse suggestion selection functionality 2020-01-13 11:03:21 +00:00
mtpara Add Simple Interfacefeatures to Keystroke Interface 2019-08-08 11:32:07 +05:30
mtsimple Merged PR 5: Single Front-End translation logic 2019-09-18 12:27:46 +00:00
opennmt Update requirements.txt + OpenNMT (19 Aug 2019) 2019-08-19 11:43:05 +05:30
static Change keystroke map aesthetics 2020-02-27 21:39:21 +05:30
templates Change keystroke map aesthetics 2020-02-27 21:39:21 +05:30
.azure-demo Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
.gitignore Switch between Sockets and HTTP + Smooth scrolling (keystroke interface) 2019-09-13 05:37:15 +00:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-02-26 00:18:42 -08:00
Dockerfile Configure Docker 2020-02-27 21:39:21 +05:30
LICENSE Initial LICENSE commit 2020-02-26 00:18:43 -08:00
README.md Resolved merge conflict for github release 2020-02-27 23:11:12 +05:30
SECURITY.md Initial SECURITY.md commit 2020-02-26 00:18:45 -08:00
azure-pipelines.yml Update azure-pipelines.yml for running credscan on windows image. 2020-03-06 15:18:47 +05:30
docker-compose.yml Configure Docker 2020-02-27 21:39:21 +05:30
env-example Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
graph.png Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
manage.py Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
opennmt.zip Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
opt_data Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
pred.out Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
requirements.txt Update Django (2.2->3.0.3) for Component Governance 2020-02-28 16:22:32 +05:30

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

  1. Generate your access keys from your profile settings (click on top right and go to security) for ELLORA.
  2. 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.
  3. Install dependencies using - python -m pip install -r requirements.txt. Be sure to check your python version. This tool is compatible with Python3.
  4. 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.
  5. Run the server - python manage.py runserver
  6. 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.

  1. python manage.py makemigrations - Generates the relational mapping for sql table creation.
  2. python manage.py migrate - Creates sqlite db and puts tables
  3. python manage.py superuser - Make a admin user to access the admin interface and handle the keystroke interface. Admin portal can be accessed from localhost: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.