To extract TM [3/3] - inconsistencies

Former Member
Former Member

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This code extracts all the inconsistently recored TUs from TMs
; This code treats multiple SDL TMs at once just like a single one.   <--  Max. 9 TMs
; You select a Folder which has TMs you wanted to process.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; You have to put "sqlite3.dll" at the same folder with this code. This file comes from SQLite site.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

This is very simple test, nothing serious at all 

.

It reports  incosistent  OR   duplicated TUs
It ignores puctuations, spaces, tags, cases and numbers - focused on source characters only.

Screenshot of Trados Studio showing a list of Translation Units (TUs) with inconsistencies extracted from Translation Memories (TMs). Highlighted rows indicate errors.


Attached
AutoHotkey source code
sqlite3.dll
extract inconsistencies.zip

.

.

Enjoy



Generated Image Alt-Text
[edited by: Trados AI at 4:21 AM (GMT 0) on 5 Mar 2024]
Parents Reply
  • I agree... one of the reasons I like your posts is the educational value they bring.  I haven't looked at your scripts for a whle as I found the earlier ones too difficult to follow.  I spent a while one day trying to replace the Korean text with English so I had a good reference that I could understand.  But this was too difficult for me, or at least I didn't have the patience to persevere.

    Paul Filkin | RWS

    Design your own training!
    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children