Skip to content

DeepL MT performance improvements#1013

Open
KamilChlodek wants to merge 3 commits intoRWS:masterfrom
KamilChlodek:deeplmt-performance-improvements
Open

DeepL MT performance improvements#1013
KamilChlodek wants to merge 3 commits intoRWS:masterfrom
KamilChlodek:deeplmt-performance-improvements

Conversation

@KamilChlodek
Copy link

The plugin does invoke translate endpoint per each segment. This approach is not optimal. DeepL API allow to translate up to 50 segments at once. Translating more segments at once reduces pre-translation time by up to 60% (based on my tests). In addition, to make translation process more reliable I've added translation retrying routine in case of some http status codes received from DeepL Service.

KamilChlodek and others added 3 commits April 28, 2020 15:49
Sync with sdl/Sdl-Community master
The plugin does invoke translate endpoint per each segment. This approach is not optimal. DeepL API allow to translate up to 50 segments at once. Translating more segments at once reduces pre-translation time by up to 60% (based on my tests). In addition, to make translation process more reliable I've added translation retrying routine in case of some http status codes received from DeepL Service.
@KamilChlodek
Copy link
Author

Bump. Is this repo still alive?

@Impertatore
Copy link
Contributor

Hi @KamilChlodek , sorry for taking so long to followup and review this PR; love these changes, but the PR is out of sync with the latest version of the repo. Can you sync the PR against master again? it's already been a few years now since you posted this PR

@KamilChlodek
Copy link
Author

Sure, no problem. I'll try to do it next week.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
3 Security Hotspots
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments