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

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.

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"}]
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ámetro | Valor por defecto | Descripción |
|---|---|---|
| Language | English (British) | Idioma de edición (en algunos casos traduce el texto al idioma especificado) |
| Writing style | Estilo de escritura | |
| Text style | Estilo del texto | |
| Only corrections | ☐ | Solo corrección |