You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Number of characters counted by DeepL for billing purposes. Only present if the show_billed_characters parameter is set to true.",
264
+
"type": "integer"
255
265
}
256
266
}
257
267
}
@@ -264,7 +274,8 @@
264
274
"translations": [
265
275
{
266
276
"detected_source_language": "EN",
267
-
"text": "Hallo, Welt!"
277
+
"text": "Hallo, Welt!",
278
+
"billed_characters": 42
268
279
}
269
280
]
270
281
}
@@ -1854,6 +1865,10 @@
1854
1865
],
1855
1866
"default": "0"
1856
1867
},
1868
+
"ShowBilledCharacters": {
1869
+
"description": "When true, the response will include the billed_characters parameter, giving the \nnumber of characters from the request that will be counted by DeepL for billing purposes.",
1870
+
"type": "boolean"
1871
+
},
1857
1872
"SplitSentencesOption": {
1858
1873
"description": "Sets whether the translation engine should first split the input into sentences. For text translations where \n`tag_handling` is not set to `html`, the default value is `1`, meaning the engine splits on punctuation and on newlines.\n\nFor text translations where `tag_handling=html`, the default value is `nonewlines`, meaning the engine splits on punctuation only, ignoring newlines. \n\nThe use of `nonewlines` as the default value for text translations where `tag_handling=html` is new behavior that was implemented in November 2022, \nwhen HTML handling was moved out of beta. \n\nPossible values are: \n\n * `0` - no splitting at all, whole input is treated as one sentence\n * `1` (default when `tag_handling` is not set to `html`) - splits on punctuation and on newlines\n * `nonewlines` (default when `tag_handling=html`) - splits on punctuation only, ignoring newlines\n\nFor applications that send one sentence per text parameter, we recommend setting `split_sentences` to `0`, in order to prevent the engine from splitting the sentence unintentionally.\n\n\nPlease note that newlines will split sentences when `split_sentences=1`. We recommend cleaning files so they don't contain breaking sentences or setting the parameter `split_sentences` to `nonewlines`.",
0 commit comments