Passer au contenu principal

DeepL::Write - vérification et édition de textes via le service www.deepl.com

DeepL Write

Présentation du scraper

Éditeur de texte multithread rapide, jusqu'à 1600 requêtes par minute, via le service DeepL. Ce scraper permet d'éditer n'importe quel volume de texte en mode automatique. Le scraper détecte automatiquement la langue source du contenu. DeepL Write est capable de traiter des volumes de texte colossaux sans consommer beaucoup de ressources.

Présentation du scraper

Données collectées

  • Texte édité
  • Langue du texte source

Possibilités

  • Choix de la langue d'édition
  • Détection automatique de la langue

Cas d'utilisation

  • Édition de texte
  • Déduplication de texte

Requêtes

En tant que requêtes, vous devez spécifier n'importe quel texte à éditer, par exemple :

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.

Variantes de sortie des résultats

A-Parser prend en charge un formatage flexible des résultats grâce au moteur de gabarit intégré Template Toolkit, ce qui lui permet de sortir les résultats sous n'importe quelle forme, ainsi que dans des formats structurés comme CSV ou JSON.

Sortie par défaut

Format du résultat :

$corrected\n

Exemple de résultat :

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.

Sortie d'une langue spécifique et du texte édité dans un tableau CSV

Format du résultat :

[% tools.CSVline(detected, corrected) %]

Exemple de résultat :

"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."

Sauvegarde au format SQL

Format du résultat :

[%  "INSERT INTO text VALUES('" _ query _ "', '";   detected _ "', '";  corrected _ "')\n";  %]

Exemple de résultat :

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 des résultats en JSON

Format de sortie general:

[% IF notFirst;
",\n";
ELSE;
notFirst = 1;
END;

obj = {};
obj.query = query;
obj.detected = p1.detected;
obj.corrected = p1.corrected;

obj.json %]

Texte initial:

[

Texte final:

]

Exemple de résultat :

[{"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"}]
astuce

Pour que les options "Texte initial" et "Texte final" soient disponibles dans l'Éditeur de tâches, vous devez activer "Plus d'options".

Paramètres possibles

ParamètreValeur par défautDescription
LanguageEnglish (British)Langue d'édition (dans certains cas, traduit le texte dans la langue spécifiée)
Writing styleStyle d'écriture
Text styleStyle du texte
Only correctionsCorrection uniquement