Apertium MT Connector: Difference between revisions
(Update example.) |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 18: | Line 18: | ||
#v1 | #v1 | ||
<nowiki>server= | <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.