[liblouis-liblouisxml] Checking all translation tables automaticaly future - some questions

  • From: Hammer Attila <hammera@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 19 Dec 2012 15:05:43 +0100

Hy,

Because in Liblouis have some oldest translation tables with producing sintax errors, I tryed doing a very simple but not ready table checker Python script. The script default using lou_checktable utility the -q option with ctb and utb table extension files in the source tree/tables directory. If the returned output is not 0 character length a table file related, table possible containing sintax errors. This case the script put table name and a short message an errors.txt file, and put table related sintax errors in detailed_errors.txt file.

The solution is not 100% safe yet, because have some ctb and utb extensioned files with possible not always single table files. I sending an errors.txt file what result produced the first Python script. Script doesn't examine some translation tables with not have listened extension (for example the ru-ru-comp8 table).

My questions:
1. What the main table proper extensions with need examining (for example ctb, utb)? 2. How can possible determining if a proper listened extension table file is not a main table? Need prewenting false sintax errors detection if this is possible. For example I think the nl-BE-translation.ctb and corrections.ctb table files is real subtables, not main translation tables.

Attila
tables/eo-g1.ctb table containing sintax errors.
tables/nl-BE-translation.ctb table containing sintax errors.
tables/de-g2-core.ctb table containing sintax errors.
tables/es-translation.ctb table containing sintax errors.
tables/de-g1-core.ctb table containing sintax errors.
tables/cs-translation.ctb table containing sintax errors.
tables/sr-translation.ctb table containing sintax errors.
tables/wiskunde-translation.ctb table containing sintax errors.
tables/compress.ctb table containing sintax errors.
tables/corrections.ctb table containing sintax errors.
tables/ckb-translation.ctb table containing sintax errors.
tables/de-g0-core.utb table containing sintax errors.

Other related posts: