Machine Translation
Concerning techniques to pass one language to another while keeping the grammatical and synctactic data intact.
There aren't many options available currently with only Google Translate, Bing Translate and Apertium as alternatives. |
Apertium - Offline translator
Unlike alternatives like Google and Bing Translate that require to be online to operate and are paid services, Apertium was developed as a rule based system to enable translation between languages. Its free, lightweight and open source which makes it ideal for applications in embedded systems and systems that don't have access to the internet/be dependant on a server.
Installing Apertium[1].
$ wget http://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash sudo apt-get -f install apertium-all-dev # or, to get all dependencies for building a language from svn: sudo apt-get -f install locales build-essential automake subversion pkg-config \ gawk libtool apertium-all-dev
$ sudo apt-get -f install subversion build-essential pkg-config gawk libxml2 \ libxml2-dev libxml2-utils xsltproc flex automake libtool libpcre3-dev zlib1g-dev
$ sudo apt-get install build-essential python3-dev python3-pip zlib1g-dev subversion sudo pip3 install --upgrade tornado
$ svn co https://svn.code.sf.net/p/apertium/svn/trunk/apertium-tools/apertium-apy cd apertium-apy ./servlet.py /usr/share/apertium # the server will use all .mode files from under this directory, use /usr/local/share/apertium for "make install"ed pairs
Installing languages on Apertium[2].
$ sudo apt-get install apertium-en-es
Using Apertium on the command line[3].
$ echo "This is not in English" | apertium en-ca
Installing Apertium[1].
$ wget http://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash sudo apt-get -f install apertium-all-dev # or, to get all dependencies for building a language from svn: sudo apt-get -f install locales build-essential automake subversion pkg-config \ gawk libtool apertium-all-dev
$ sudo apt-get -f install subversion build-essential pkg-config gawk libxml2 \ libxml2-dev libxml2-utils xsltproc flex automake libtool libpcre3-dev zlib1g-dev
$ sudo apt-get install build-essential python3-dev python3-pip zlib1g-dev subversion sudo pip3 install --upgrade tornado
$ svn co https://svn.code.sf.net/p/apertium/svn/trunk/apertium-tools/apertium-apy cd apertium-apy ./servlet.py /usr/share/apertium # the server will use all .mode files from under this directory, use /usr/local/share/apertium for "make install"ed pairs
Installing languages on Apertium[2].
$ sudo apt-get install apertium-en-es
Using Apertium on the command line[3].
$ echo "This is not in English" | apertium en-ca
[1] http://wiki.apertium.org/wiki/Apertium-apy
[2] https://www.howtoinstall.co/en/ubuntu/trusty/universe/apertium-en-es/
[3] http://www.technomancy.org/language/apertium-command-line/
[4] http://www.technomancy.org/language/apertium-auto-translate-gettext/
[2] https://www.howtoinstall.co/en/ubuntu/trusty/universe/apertium-en-es/
[3] http://www.technomancy.org/language/apertium-command-line/
[4] http://www.technomancy.org/language/apertium-auto-translate-gettext/