ModernMT API Connector: Difference between revisions

From Okapi Framework
Jump to navigation Jump to search
No edit summary
 
Line 3: Line 3:
==Overview==
==Overview==


ModernMT (MMT) is a context-aware, incremental and distributed general purpose Machine Translation technology. MMT is being developed as a European Union funded open-source project. You can find more information on the project at [[http://www.modernmt.eu http://www.modernmt.eu]]
ModernMT (MMT) is a context-aware, incremental and distributed general purpose Machine Translation technology. MMT is being developed as a European Union funded open-source project. You can find more information on the project at http://www.modernmt.eu


The MMT system can be used to develop and host your own engines that can be used in your translation pipeline. This connector uses the REST API [[https://github.com/ModernMT/MMT/wiki/API-Documentation here]] to allow you to translate using an engine hosted on an MMT instance.
The MMT system can be used to develop and host your own engines that can be used in your translation pipeline. This connector uses the [https://github.com/ModernMT/MMT/wiki/API-Documentation REST API] to allow you to translate using an engine hosted on an MMT instance.


Before using the connector you must have started an engine in MMT using:
Before using the connector you must have started an engine in MMT using:


./mmt start
./mmt start


or
or


./mmt start -e <engine_name>
./mmt start -e <engine_name>


==Using the Connector==
==Using the Connector==

Latest revision as of 16:00, 13 August 2017

Overview

ModernMT (MMT) is a context-aware, incremental and distributed general purpose Machine Translation technology. MMT is being developed as a European Union funded open-source project. You can find more information on the project at http://www.modernmt.eu

The MMT system can be used to develop and host your own engines that can be used in your translation pipeline. This connector uses the REST API to allow you to translate using an engine hosted on an MMT instance.

Before using the connector you must have started an engine in MMT using:

./mmt start

or

./mmt start -e <engine_name>

Using the Connector

In Rainbow, the connector can be accessed through the Leveraging Step. It can also be called programatically.

Parameters

URL for ModernMT Engine (internal name: url) — Mandatory. The URL of the ModernMT engine to connect to.

Context for the ModernMT Engine call (internal name: context) — Optional. The context/domain for the translation.

Limitations

  • Global Context Setting - currently, when set as a parameter the context is applied to all translation requests. An update is currently being developed to allow the ITS Domain annotation to drive per segment context setting.