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
Hi,
When translating with the DEEPL API, does it take into account the context between sentences separated by "\n"?
Or are they treated as separate paragraphs?
The text was updated successfully, but these errors were encountered:
hoonlight
changed the title
"Context Consideration in DEEPL API Translation: Sentences Separated by '\n'"
Context Consideration in DEEPL API Translation: Sentences Separated by '\n'
Jul 22, 2023
Hi @archive-r , yes the context is taken into account between newlines.
A simple example:
$ poetry run python -m deepl text --source-lang 'PT' --target-lang 'DE' "Compreia no ikea."
Ich würde es bei Ikea kaufen.
(I would buy it -neutral- from Ikea)
poetry run python -m deepl text --source-lang 'PT' --target-lang 'DE' "A cadeira é vermelha.
Compreia no Ikea."
Der Stuhl ist rot.
Ich habe ihn bei Ikea gekauft.
(The chair is red. I would buy it -correctly gendered- from Ikea)
Hi,
When translating with the DEEPL API, does it take into account the context between sentences separated by "\n"?
Or are they treated as separate paragraphs?
The text was updated successfully, but these errors were encountered: