Interactive Neural Machine Translation tool
Перейти к файлу
Sebastin Santy 3b10ef5499 Merged PR 6: Add mouse suggestion selection functionality 2020-01-13 11:03:21 +00:00
.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
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 Merged PR 6: Add mouse suggestion selection functionality 2020-01-13 11:03:21 +00:00
templates Merged PR 6: Add mouse suggestion selection functionality 2020-01-13 11:03:21 +00:00
.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
Dockerfile Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +05:30
README.md Updated README with better instructions and full requirements 2019-09-13 15:29:44 +05:30
docker-compose.yml Included the Machine Translation Code in the repository 2019-07-23 13:34:53 +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 Updated README with better instructions and full requirements 2019-09-13 15:29:44 +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.