30.07.2009
(c) 2006, 2007, 2008, Heartsome
Europe GmbH


Heartsome Europe GmbH
www.heartsome.de
Validating length of TMX entries
This
function supports plausibility checking of the TMX database entries.
It checks the length of the entries and shows all
entries where in comparison with the other entries the entry seems to be very short
or long. In doing this one can eventually detect entries not correctly translated.
Method
The character length of all translations for
all languages of an entry are determined and the mean computed. Next it is checked if the ratio of
the longest and shortest translation outperforms a certain % value. If yes the entry is
displayed as to be checked. The percentage value can be set in the eaglememex.properties modifying the
property eaglememex.val.prop.
The first value (e.g. 14) is the length of the shortest
translation, the second
value the mean of all translations (e.g. 135), the third value (e.g. 243) the length of the longest
translation, the fourth value is the ration of the shortest to the longest translation.
