DeepL::Write - Checking and Editing Texts via the www.deepl.com Service

Overview of the scraper
Fast, up to 1600 requests per minute, multi-threaded text editor via the Deepl service. This scraper allows editing any volumes of text in an automated mode. The scraper automatically detects the source language of the content. Deepl write is capable of processing colossal amounts of text without consuming much resources.

Collected data
- Edited text
- Source text language
Capabilities
- Selection of editing language
- Automatic language detection
Use cases
- Text editing
- Text uniqueness
Queries
As queries, you need to specify any text for editing, for example:
Animals are foscinating creatures. They come in all shapes and sizes, from tiny mouse to ginormous elephent. The lion is known as the king of the jungel, with its majestic mane and ferociuos roar. It hunts its pray with stratagy and precission.
Examples of output results
A-Parser supports flexible result formatting thanks to the built-in templating engine Template Toolkit, which allows it to output results in an arbitrary form, as well as in a structured form, such as CSV or JSON
Default output
Result format:
$corrected\n
Result example:
Animals are fascinating creatures. They come in all shapes and sizes, from the tiny mouse to the gigantic elephant. The lion is known as the king of the jungle, with his majestic mane and ferocious roar. Er jagt seine Beute mit Strategie und Präzision.
Outputting detected language and corrected text to CSV table
Result format:
[% tools.CSVline(detected, corrected) %]
Result example:
"Animals are fascinating creatures. They come in all shapes and sizes, from the tiny mouse to the gigantic elephant. The lion is known as the king of the jungle, with his majestic mane and ferocious roar. Er jagt seine Beute mit Strategie und Präzision."
Saving in SQL format
Result format:
[% "INSERT INTO text VALUES('" _ query _ "', '"; detected _ "', '"; corrected _ "')\n"; %]
Result example:
INSERT INTO text VALUES('Animals are fascinating creatures. They come in all shapes and sizes, from the tiny mouse to the gigantic elephant. The lion is known as the king of the jungle, with its majestic mane and ferocious roar. It hunts its prey with strategy and precision.', 'EN', 'Animals are fascinating creatures. They come in all shapes and sizes, from the tiny mouse to the gigantic elephant. The lion is known as the king of the jungle, with its majestic mane and ferocious roar. It hunts its prey with strategy and precision.')
Dump results to JSON
Общий формат результата:
[% IF notFirst;
",\n";
ELSE;
notFirst = 1;
END;
obj = {};
obj.query = query;
obj.detected = p1.detected;
obj.corrected = p1.corrected;
obj.json %]
Начальный текст:
[
Конечный текст:
]
Result example:
[{"corrected":"Animals are fascinating creatures. They come in all shapes and sizes, from the tiny mouse to the gigantic elephant. The lion is known as the king of the jungle, with its majestic mane and ferocious roar. It hunts its prey with strategy and precision.","query":"Animals are fascinating creatures. They come in all shapes and sizes, from the tiny mouse to the gigantic elephant. The lion is known as the king of the jungle, with its majestic mane and ferocious roar. It hunts its prey with strategy and precision.","detected":"EN"}]
To make the "Initial Text" and "Final Text" options available in the Job Editor, you need to activate "More options".
Possible settings
| Parameter | Default value | Description |
|---|---|---|
| Language | English (British) | Editing language (in some cases, translates text to the specified language) |
| Writing style | Writing style | |
| Text style | Text style | |
| Only corrections | ☐ | Correction only |