Difference between revisions of "ModernMT API Connector"
|Line 27:||Line 27:|
Revision as of 15:46, 13 August 2017
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 [here] 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 -e <engine_name>
Using the Connector
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.
- 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.