DeepL MT Connector

From Okapi Framework
Revision as of 19:09, 1 April 2018 by Okapifra (talk | contribs) (Created page with "{{Connectors Header}} __TOC__ ==Overview== Starting in M36, DeepL MT service API (documented at https://www.deepl.com/api.html) can be access with this connector. ==Using th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Starting in M36, DeepL MT service API (documented at https://www.deepl.com/api.html) can be access with this connector.

Using the Connector

The connector can be accessed programmatically.

Parameters

DeepL authentication key (internal name: authKey) — the API key to allow access to the API.

Get plain-text translation (internal name: plainText) — Option to get plain-text MT candidates from DeepL. When this option is set the segments submitted to the DeepL API are stripped of inline codes. When this option is not set, the inline codes are converted to XML generic tags and submitted as such to DeepL, and then converted back to the original inline codes.

Limitations

  • There are limitations in the size of the query and the number of segments that can be submitted at once.

The connector tries to handle those restriction. See the DeepL API for more information.

  • The split_sentences and preserve_formatting options are not supported yet.