Skip to content

Python package for neural machine translation built with Keras and Tensorflow

License

Notifications You must be signed in to change notification settings

jojkos/neural-machine-translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NMT package

Python package for neural machine translation built with Keras and Tensorflow

nmt is library that was developed as part of diploma thesis. It can train LSTM encoder-decoder model based on provided datasets. Even though machine translation is its primary use, it can be used for any other similar training, such as to train chat bots. It only depends on the provided datasets from which the model learns how to response to given sequence. Published as paper on Excel@FIT 2018 conference.

Installation

One of those methods can be used:

  • Install package globally from wheel in dist folder (pip install dist/nmt.whl)
  • Install package globally with python setup.py install
  • Put it in the project folder

Use it with import nmt

Parameters and usage

Complete documentation of Translator api is here

Exmaple of script running nmt library main.py

Documentation

  • Prebuilt documentation is in docs/_build/
  • Can be build from source with sphinx-build -b html ./docs ./docs/_build
  • Live version from github

Tests

  • Test are written using pytest
  • Can be run with pytest tests

TODOs

  • better decomposition
  • upload to PyPi

About

Python package for neural machine translation built with Keras and Tensorflow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published