Ir al contenido principal

DeepL::Write - comprobación y edición de textos a través del servicio www.deepl.com

DeepL Write

Descripción del extractor

Editor de texto multihilo, rápido (hasta 1600 consultas por minuto), a través del servicio DeepL. Este extractor permite editar cualquier volumen de texto en modo automático. El extractor detecta automáticamente el idioma original del contenido. DeepL Write es capaz de procesar volúmenes colosales de texto sin consumir muchos recursos.

Descripción del extractor

Datos recopilados

  • Texto editado
  • Idioma del texto original

Capacidades

  • Selección del idioma de edición
  • Detección automática del idioma

Casos de uso

  • Edición de texto
  • Unicidad de texto

Consultas

Como consultas, debe especificar cualquier texto para editar, por ejemplo:

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.

Ejemplos de salida de resultados

A-Parser admite un formateo flexible de resultados gracias al motor de plantillas integrado Template Toolkit, lo que le permite presentar los resultados en cualquier forma, así como en formatos estructurados como CSV o JSON.

Salida por defecto

Formato de resultado:

$corrected\n

Ejemplo de resultado:

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.

Salida de idioma detectado y texto editado en una tabla CSV

Formato de resultado:

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

Ejemplo de resultado:

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

Guardado en formato SQL

Formato de resultado:

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

Ejemplo de resultado:

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

Volcado de resultados en JSON

Formato general del resultado:

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

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

obj.json %]

Texto inicial:

[

Texto final:

]

Ejemplo de resultado:

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

Para que las opciones "Texto inicial" y "Texto final" estén disponibles en el Editor de tareas, debe activar "Más opciones".

Configuraciones posibles

ParámetroValor por defectoDescripción
LanguageEnglish (British)Idioma de edición (en algunos casos traduce el texto al idioma especificado)
Writing styleEstilo de escritura
Text styleEstilo del texto
Only correctionsSolo corrección