Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 663 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 663 Bytes

SMT

English to Odia statistical machine translation

Quick start

git clone https://github.com/MTEnglish2Odia/SMT.git
cd SMT

# install required packages preferably in a virtual environment
pip install -r requirements.txt

# install the `punkt` resource of nltk using the following command
python -m nltk.downloader punkt

# train SMT model
cd src
python train.py  # it creates "model.pkl" in "models" dir

# web app
cd ../
python controller.py  # open http://127.0.0.1:31137/translate in browser

Snapshot of web app

LICENSE