Hoppa till huvudinnehåll

DeepL::Write - kontroll och redigering av texter via tjänsten www.deepl.com

DeepL Write

Översikt av scrapern

Snabb, upp till 1600 förfrågningar per minut, flertrådad textredigerare via tjänsten Deepl. Denna scraper gör det möjligt att redigera valfria textmängder i automatiskt läge. Scrapern identifierar automatiskt källspråket för innehållet. Deepl write kan bearbeta kolossala mängder text utan att förbruka mycket resurser.

Översikt av scrapern

Insamlade data

  • Redigerad text
  • Källspråk för texten

Funktioner

  • Val av redigeringsspråk
  • Automatisk språkidentifiering

Användningsfall

  • Textredigering
  • Dubblettkontroll av text

Förfrågningar

Som förfrågningar ska valfri text för redigering anges, till exempel:

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.

Exempel på resultatutdata

A-Parser stöder flexibel formatering av resultat tack vare den inbyggda mallmotorn Template Toolkit, vilket gör det möjligt att mata ut resultat i valfri form, samt i strukturerad form som CSV eller JSON

Standardutdata

Resultatformat:

$corrected\n

Exempel på resultat:

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.

Utmatning av identifierat språk och redigerad text till en CSV-tabell

Resultatformat:

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

Exempel på resultat:

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

Spara i SQL-format

Resultatformat:

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

Exempel på resultat:

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.')

Dumpa resultat till JSON

Allmänt resultatformat:

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

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

obj.json %]

Starttext:

[

Sluttext:

]

Exempel på resultat:

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

För att alternativen "Prepend text" och "Append text" ska vara tillgängliga i Uppgiftsredigeraren måste "More options" aktiveras.

Möjliga inställningar

ParameterStandardvärdeBeskrivning
LanguageEnglish (British)Redigeringsspråk (i vissa fall översätts texten till det angivna språket)
Writing styleSkrivstil
Text styleTextstil
Only correctionsEndast korrigering