/smt

Statistical Machine Translation implementation with Python: especially IBM Model1, 2, and phrase-based machine translation.

Primary LanguagePythonMIT LicenseMIT

IBM Model

IMB models of statistical mathine translation

Files

ibmmodel1.py
implements IBM Model1
ibmmodel2.py
implements IBM Model2
word_alignment.py
implements symmetrization of word alignments

Usege

See each file and test codes written in test.py