Spaces missing from translation of Markdown files by tikal -t -ms using Microsoft translate API (v2)

Issue #808 new
Kuro Kurosaka (BH Lab) created an issue

Translation of Markdown file by tikal -t using Microsoft Translator (-ms) lacks spaces surrounding markups

I have this one-line Markdown file for testing:

Astronomers at last have captured a picture of the *darkest* entities in the cosmos.

I ran:

./tikal.sh -t short.md -sl en -tl es -ms mstrans.conf

mstrans.conf just has azureKey= line with an azure key.

The resulting file lacks a space surrounding the part corresponding to "*darkest*"

Los astrónomos por fin han capturado una imagen de la*más oscuros*entidades en el cosmos.

The correct translation would be:

Los astrónomos por fin han capturado una imagen de la *más oscuros* entidades en el cosmos.

This was observed with M36 and M37 stable releases.

A new version in development to use Microsoft v3 API also shows the same issue.

More complicated file formats like .docx do not show this.

Comments (1)

  1. Log in to comment