Apertium MT Connector: Difference between revisions

From Okapi Framework
Jump to navigation Jump to search
No edit summary
Tag: Reverted
(Update example.)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
__TOC__
__TOC__
==Overview==
==Overview==
{{WarningBox|It seems that the Apertium API used by this connector has been discontinued.
See [http://wiki.apertium.org/wiki/Old_Apertium_web_service http://wiki.apertium.org/wiki/Old_Apertium_web_service] for more details.}}


Apertium is an open-source Rule-based MT project. It provides translation for many language pairs, including for less-common languages such as Catalan, Galician, Welsh, Esperanto, Nynorsk, Occitan, etc. You can find more information about Apertium here: [http://wiki.apertium.org http://wiki.apertium.org].
Apertium is an open-source Rule-based MT project. It provides translation for many language pairs, including for less-common languages such as Catalan, Galician, Welsh, Esperanto, Nynorsk, Occitan, etc. You can find more information about Apertium here: [http://wiki.apertium.org http://wiki.apertium.org].
Line 21: Line 18:


  #v1
  #v1
  <nowiki>server=http://api.apertium.org/json/translate</nowiki>
  <nowiki>server=https://apertium.org/apy</nowiki>
  apiKey=myApiKey
  apiKey=myApiKey
  timeout.i=0
  timeout.i=0

Latest revision as of 22:53, 20 April 2025

Overview

Apertium is an open-source Rule-based MT project. It provides translation for many language pairs, including for less-common languages such as Catalan, Galician, Welsh, Esperanto, Nynorsk, Occitan, etc. You can find more information about Apertium here: http://wiki.apertium.org.

The connector uses the JSONP REST API described here: http://wiki.apertium.org/wiki/Apertium_web_service.

Parameters

Server URL — The URL for the server the connector should use. The default is the one for the main Apertium server http://api.apertium.org/json/translate. Note that you can set up your own local Apertium server as well and use it with the conector.

API key — The optional API key you may want to use. Using an API key is highly recommended. See the Apertium Web Service register page for details and to register one.

Timeout — The optional timeout (in seconds) after which the connector stops trying to access the remote resource. Use 0 for the default system timeout.

Example of a configuration file:

#v1
server=https://apertium.org/apy
apiKey=myApiKey
timeout.i=0

Limitations

None known.