Page MenuHomePhabricator

References added out of order when using Apertium
Open, MediumPublic

Assigned To
Authored By
Mar 24 2020, 9:37 AM
Referenced Files
F31754673: imagen.png
Apr 13 2020, 12:01 PM
F31699937: Screenshot 2020-03-24 at 10.43.20.png
Mar 24 2020, 9:46 AM
F31699930: Captura.PNG
Mar 24 2020, 9:37 AM


Translating the Setge de Calanda article from Catalan to Spanish with Apertium, most references are added at the end of the paragraph instead of their corresponding positions. Note in the example below, how the paragraph in the translation has 6 references at the end, while the original has those distributed in different sentences through the paragraph:

Captura.PNG (317×897 px, 47 KB)

This quick link provides an easy to reproduce example (based on this example page with the problematic references). Note how all the references are added at the end (and two of them are labelled as "[1]", which is reported as a sepaate issue: T248380).

Screenshot 2020-03-24 at 10.43.20.png (515×1 px, 173 KB)

Event Timeline

Pginer-WMF triaged this task as Medium priority.Mar 24 2020, 9:46 AM
Pginer-WMF updated the task description. (Show Details)

Another example from the translation of Horse transports in the Middle Ages from English to Spanish using Apertium shows reference 12 moving to the end of the line when it is added to the translation.

imagen.png (375×889 px, 43 KB)