Learn R Programming

deeplr (version 1.0.0)

pimp2: Fix and improve texts using DeepL

Description

pimp2 translates a text into a help language and then back into the original language using the undocumented JSON-RPC DeepL API. No authentication key is required to use this service.

Usage

pimp2(text, help_lang)

Arguments

text

text to be translated. Must not exceed 5000 characters. Only UTF8-encoded plain text is supported. May contain multiple sentences.

help_lang

language used as a help language for reverse translation. Can be one of the following:

  • EN English

  • DE German

  • FR French

  • ES Spanish

  • IT Italian

  • NL Dutch

  • PL Polish

Examples

Run this code
# NOT RUN {
pimp2("In former times I lived in Zurich", help_lang = "DE")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab