Create a PHP class to translate with Apertium
completed by: chalet16
mentors: Kevin Brubeck Unhammer
Create a PHP class for translating with a local Apertium installation, to make it easy to include a Apertium in a php web site.
It should have at least a translate function and a listAllPairs function (see the -l switch to apertium).
The translation function should gracefully handle any possible hang in the apertium process.