DeepL::Write - check and edit texts via the www.deepl.com service

Scraper overview
Fast, up to 1600 requests per minute, multithreaded text editor via the DeepL service. This scraper allows you to edit any volume of text in automatic mode. The scraper automatically detects the source language of the content. DeepL Write is capable of processing colossal amounts of text without consuming many resources.

Collected data
- Edited text
- Source text language
Capabilities
- Choice of editing language
- Automatic language detection
Use cases
- Text editing
- Text deduplication
Queries
You should specify any text for editing as queries, 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.
Output results examples
A-Parser supports flexible results formatting thanks to the built-in Template Toolkit, which allows it to output results in any form, as well as in structured formats like CSV or JSON
Default output
Result format:
$corrected\n
Example result:
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 a specific language and edited text to a CSV table
Result format:
[% tools.CSVline(detected, corrected) %]
Example result:
"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"; %]
Example result:
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
Common result format:
[% IF notFirst;
",\n";
ELSE;
notFirst = 1;
END;
obj = {};
obj.query = query;
obj.detected = p1.detected;
obj.corrected = p1.corrected;
obj.json %]
Initial text:
[
Final text:
]
Example result:
[{"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 "Prepend text" and "Append text" options available in the Task 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 |