Make some comparations between the translation and the original
text.
|
|
|
test_if_purepunc(msg,
cat)
Compare the translation with the original text, testing if the
translation is different when the original text has not alphanumeric
text. |
|
|
|
test_if_non_printable_characters(msg,
cat)
Compare the translation with the original text, testing if the
translation is different when the original text has not alphanumeric
text. |
|
|
|
test_if_very_long_translation(msg,
cat)
Compare the translation with the original text, testing if the
transaled text is much longer than the original (As much twice with a
correction for small text). |
|
|
|
test_if_very_short_translation(msg,
cat)
Compare the translation with the original text, testing if the
transaled text is much shorter than the original. |
|
|
|
test_if_not_translated(msg,
cat)
Compare the translation with the original text, testing if the
paragraph is not translated. |
|
|
|
|
|
test_paired_strings(msg,
cat)
Compare number of some strings between original and translated text. |
|
|
|
test_paired_brackets(msg,
cat)
Compare number of some brackets between original and translated text. |
|
|
|
test_paired_expressions(msg,
cat)
Compare expressions (functions, parameters) between original and
translated text. |
|
|
|
|
|
|
|
|