Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate against DeepL #46

Open
caugner opened this issue Jun 2, 2022 · 1 comment
Open

Evaluate against DeepL #46

caugner opened this issue Jun 2, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@caugner
Copy link

caugner commented Jun 2, 2022

It would be nice to compare the quality of the translations against DeepL Translator, which is very well received:

(Wikipedia:) Reception of DeepL Translator in 2017 has been generally positive, with TechCrunch appreciating it for the accuracy of its translations, stating that it was more accurate and nuanced than Google Translate,[6] and Le Monde thanking its developers for translating French text into more 'French-sounding' expressions.

  • Access: You can sign-up for DeepL Pro here: https://www.deepl.com/pro#developer
  • Pricing: API access is free up to 500,000 characters per month, and €4.99/month + 20€/1M characters otherwise.
  • Docs: API is simple and documented here: https://www.deepl.com/docs-api/translating-text/request/
  • Usage: You can translate multiple texts (up to 50 if I remember correctly) in a single request:
    curl https://api.deepl.com/v2/translate \
    	-d auth_key=your_auth_key \
    	-d "text=This is the first sentence."  \
    	-d "text=This is the second sentence."  \
    	-d "text=This is the third sentence."  \
    	-d "source_lang=EN-US"
    	-d "target_lang=DE"

Note that the DeepL API has two particularities:

  • The language identifiers are all UPPERCASE.
  • The API only supports multiple text parameters, not text[].
@eu9ene eu9ene added the enhancement New feature or request label Jun 13, 2022
@Lightningblade
Copy link

https://www.top500.org/news/startup-launches-language-translator-that-taps-into-five-petaflop-supercomputer/ states "(...)DeepL achieved a BLEU score of 31.1 using those same texts."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants