Difference between revisions of "Apertium-OmegaT"

From Apertium
Jump to navigation Jump to search
m
 
(11 intermediate revisions by 8 users not shown)
Line 9: Line 9:


== Installation ==
== Installation ==
Download apertium-omegat.jar from [https://github.com/apertium/apertium-omegat/releases/download/v1.0/apertium-omegat.jar] and copy it to the <code>plugins/</code> directory of your OmegaT installation. The folder in question is the folder that contains the OmegaT.jar file, for the Mac version this is e.g. the ''/Applications/OmegaT_3/OmegaT.app/Contents/MacOS/Java/'' directory.


Download it from [https://apertium.svn.sourceforge.net/svnroot/apertium/builds/apertium-omegat/apertium-omegat.jar here] and copy it to the <code>plugins/</code> directory of your OmegaT installation. The next time that you run OmegaT, it will ask you where to save [[language pair packages]], and offer the possibility to install the ones you want. You will now have a new option at ''Options'' → ''Machine Translate'' called ''Apertium (offline)'', which has to be checked to activate the plug-in. If you want to configure the plug-in or manage language pairs (i.e. install, uninstall or update them), go to ''Options'' → ''Apertium settings''.
The next time that you run OmegaT, it will ask you where to save [[language pair packages]], and offer the possibility to install the ones you want. You will now have a new option at ''Options'' → ''Machine Translate'' called ''Apertium (offline)'', which has to be checked to activate the plug-in. If you want to configure the plug-in or manage language pairs (i.e. install, uninstall or update them), go to ''Options'' → ''Apertium settings''.


== Supported language pairs ==
== Supported language pairs ==


[[Image:Apertium-Caffeine_screenshot2.png|thumb|230px|left|Installing language pairs]]
[[Image:Apertium-Caffeine_screenshot2.png|thumb|230px|left|Installing language pairs]]
Apertium-OmegaT offers the possibility to install, uninstall and update language pairs within the application. This feature is supported for all the 24 [[Language pair packages#List of ready-to-use packages|released pairs for which ready-to-use packages are maintained]].
Apertium-OmegaT offers the possibility to install, uninstall and update language pairs within the application. This feature is supported for all the 25 [[Language pair packages#List of ready-to-use packages|released pairs for which ready-to-use packages are maintained]].


Unreleased language pairs or [[Language pair packages#Language pairs with external dependencies|language pairs with external dependencies]] (for instance, the 6 released language pairs that depend on [[Apertium_and_Constraint_Grammar|CG]]) are also supported. However, ready-to-use packages are not maintained for these pairs, so you will need to [[Language pair packages#Creating language pair packages|create the packages]] by yourself, and copy them to the directory in which you have the rest of the packages. Note that, for the [[Language pair packages#Language pairs with external dependencies|language pairs with external dependencies]], you will need to install those dependencies first. For instance, you will need to install [[Apertium_and_Constraint_Grammar|CG]] for the pairs that depend on it.
Unreleased language pairs or [[Language pair packages#Language pairs with external dependencies|language pairs with external dependencies]] (for instance, the 6 released language pairs that depend on [[Apertium_and_Constraint_Grammar|CG]]) are also supported. However, ready-to-use packages are not maintained for these pairs, so you will need to [[Language pair packages#Creating language pair packages|create the packages]] by yourself, and copy them to the directory in which you have the rest of the packages. Note that, for the [[Language pair packages#Language pairs with external dependencies|language pairs with external dependencies]], you will need to install those dependencies first. For instance, you will need to install [[Apertium_and_Constraint_Grammar|CG]] for the pairs that depend on it.

== Troubleshooting ==

* The option '''Apertium (offline)''' does noe show up, despise apertium-omegat.jar being installed in the same folder as OmegaT.jar


[[Category:Tools]]
[[Category:Tools]]
[[Category:User interfaces]]
[[Category:Using Apertium]]
[[Category:Documentation in English]]

Latest revision as of 07:43, 10 May 2018

Sample project translating from English to Spanish

Apertium-OmegaT is a plug-in for OmegaT built on top of lttoolbox-java that offers offline machine translation from Apertium.

Requirements[edit]

  • A working installation of OmegaT

And that's all! Apertium-OmegaT can work on any platform (Linux, OS X or Windows), and it does NOT require installing apertium, lttoolbox or lttoolbox-java.

Installation[edit]

Download apertium-omegat.jar from [1] and copy it to the plugins/ directory of your OmegaT installation. The folder in question is the folder that contains the OmegaT.jar file, for the Mac version this is e.g. the /Applications/OmegaT_3/OmegaT.app/Contents/MacOS/Java/ directory.

The next time that you run OmegaT, it will ask you where to save language pair packages, and offer the possibility to install the ones you want. You will now have a new option at OptionsMachine Translate called Apertium (offline), which has to be checked to activate the plug-in. If you want to configure the plug-in or manage language pairs (i.e. install, uninstall or update them), go to OptionsApertium settings.

Supported language pairs[edit]

Installing language pairs

Apertium-OmegaT offers the possibility to install, uninstall and update language pairs within the application. This feature is supported for all the 25 released pairs for which ready-to-use packages are maintained.

Unreleased language pairs or language pairs with external dependencies (for instance, the 6 released language pairs that depend on CG) are also supported. However, ready-to-use packages are not maintained for these pairs, so you will need to create the packages by yourself, and copy them to the directory in which you have the rest of the packages. Note that, for the language pairs with external dependencies, you will need to install those dependencies first. For instance, you will need to install CG for the pairs that depend on it.

Troubleshooting[edit]

  • The option Apertium (offline) does noe show up, despise apertium-omegat.jar being installed in the same folder as OmegaT.jar