[liblouis-liblouisxml] A possible bug with begcaps opcode resulted braille input backtranslated text

  • From: Hammer Attila <hammera@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sat, 04 Aug 2012 07:18:33 +0200

Hy,

If I run lou_translate en-us-g1.ctb command and try for example AA-hoz text, resulted braille text is ,,aa-hoz. If I run lou_backtranslate -b en-us-g1.ctb and type ,,aa-hoz braille text, resulted backtranslated text is AA-HOZ. This is not right, because en-us-g1.ctb table containing endcaps opcode to mark end of capital letters text.

I reproduced this problem with hu-hu-g1.ctb table too when worked yesterday the hungarian grade 1 table related backtranslate problem fix, because we using begcaps opcode to mark more capital letters with 46-46 indicator. Unfortunately hungarian grade1 braille not have determined simbol to mark end of capital letters, so when I created the table I not added endcaps opcode. I try temporary add the endcaps 46-36 opcode after begcaps opcode related line with hu-hu-g1.ctb table, but not help. So, unfortunately this problem more than one table reproduced. How possible handling this problem during backtranslation if the problem not related with any Liblouis code?

Attila
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] A possible bug with begcaps opcode resulted braille input backtranslated text - Hammer Attila