TranslationsByText: DeepL Translations
read only REST
- Catalogo:
DeepL - Schema:
Translate - Label: Translations
È possibile solo recuperare i dati.
Riepilogo
The translation of one text. Billed per character on every execution.
Codice sorgente dell'API
- Punto finale:
/v2/translate
Caratteristiche prestazionali
| Characteristic | Value |
|---|---|
| Latenza media di accesso (ms) | 31 |
Parametri
| Name | Tipo di dati | Required | Default | Documentation |
|---|---|---|---|---|
context |
varchar2 |
Text that influences the translation without being translated itself.Not billed. | ||
custom_ |
varchar2 |
JSON array of up to 10 instructions of at most 300 characters. | ||
formality |
varchar2 |
default, more, less, prefer_more or prefer_less. | ||
glossary_ |
varchar2 |
The glossary to apply; requires source_lang. | ||
glossary_ |
varchar2 |
Comma-separated list of up to 5 glossaries; excludes glossary_id. | ||
ignore_ |
varchar2 |
Comma-separated XML tags whose content is not translated. | ||
model_ |
varchar2 |
quality_optimized, prefer_quality_optimized or latency_optimized. | ||
non_ |
varchar2 |
Comma-separated XML tags which never split sentences. | ||
outline_ |
boolean |
False disables the automatic detection of the XML structure. | ||
preserve_ |
boolean |
Whether DeepL keeps the formatting even where it would correct it. | ||
reporting_ |
varchar2 |
Custom reporting tag of the request; overrides the connection attribute reporting-tag. | ||
source_ |
varchar2 |
Language of the text.When absent, DeepL detects it; a glossary requires it. | ||
split_ |
varchar2 |
0 (no splitting), 1 (default) or nonewlines. | ||
splitting_ |
varchar2 |
Comma-separated XML tags which always split sentences. | ||
style_ |
varchar2 |
The style rule list to apply. | ||
tag_ |
varchar2 |
xml or html. | ||
tag_ |
varchar2 |
v1 or v2. | ||
target_ |
varchar2 |
The language to translate into, such as NL, DE or EN-GB. | ||
text |
varchar2 |
The text to translate. | ||
translation_ |
varchar2 |
The translation memory to apply. | ||
translation_ |
int32 |
Minimum matching percentage of a translation memory segment; below 50 is 50. |
Colonne della tabella
Di seguito sono riportate le colonne della tabella TranslationsByText. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.
| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
billed_ |
int32 |
itgen_dpl_billed_characters | filters on the platform, writable | The characters DeepL billed for the text in this execution; 0 when the translation came from the cache. | |
detected_ |
varchar2 |
itgen_dpl_detected_source_language | filters on the platform, writable | The source language, as given or as detected. | |
model_ |
varchar2 |
itgen_dpl_model_type_used | filters on the platform, writable | The model used; only when a model type was requested. | |
tag_ |
varchar2 |
itgen_dpl_tag_handling_version | filters on the platform, writable | The tag handling algorithm used; only with tag handling. | |
translated_ |
varchar2 |
itgen_dpl_translated_text | filters on the platform, writable | The translated text. |
Esempi di Query
select trn.translated_text
, trn.billed_characters
from DeepL.Translate.TranslationsByText('The licence key is invalid.', 'NL', source_lang => 'EN') trn