Hello,
As an OmegaT user and Apertium developer/user, I have found myself using both together during translation. Apertium is a great piece of free and open-source software that works quite well for some language pairs.
However, the default Apertium plugin packaged in OmegaT is very limited. It always retrieves the translations from https://www.apertium.org, which may be enough for most users, but ignores the fact that anyone can host an Apertium server (like Moses). In addition, while Apertium development is very active, language pair releases have traditionally been slow, which means that pairs on the main server (used by OmegaT) may be out of date by months or even years.
As a rule-based machine translation system, it can be run on any consumer computer without requiring excessive resources, so there is also the possibility of running it locally to prevent text from leaking over the Internet and overcoming NDAs. An external plugin called "Apertium-OmegaT" (http://wiki.apertium.org/wiki/Apertium-OmegaT) was created for this purpose, but again, it depends on released pairs and is technologically obsolete (Java-based Apertium is unmantained). A more promising attempt called "Apertium OmegaT Native" (http://wiki.apertium.org/wiki/Apertium-OmegaT-Native) is under development to allow using nightly builds of the language pairs, but Linux is currently unsupported.
Considering this situation, in an effort to add flexibility to the users, I have modified the built-in Apertium plugin to allow users to define a custom Apertium server URL. It has the following features:
I have sent a pull request on GitHub with the modifications:
Any feedback is welcome, thanks!
Marc Riera
Link to GitHub pull request with the patch: https://github.com/omegat-org/omegat/pull/37
Implemented in [13778d]. Thanks very much for your contribution.
Related
Commit: [13778d]
Released in 5.1.0.