[liblouis-liblouisxml] Re: Back translation and braille-patterns.cti

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 27 Nov 2012 02:09:33 -0600

Yes, using noback sounds like a good idea.

John

On Tue, Nov 27, 2012 at 08:45:06AM +0100, Mesar Hameed wrote:
> Hi,
> 
> this is another thing that has been on my mind, I wonder if all of 
> braille-patterns.cti 
> should be preseeded by the noback opcode, that way we dont need to worry 
> where they are being included.
> 
> even inclusion juggeling doesnt help in some cases, and the noback seems the 
> best way.
> 
> Mesar
> On Mon 26/11/12,16:11, Peter Lundblad wrote:
> > Hi,
> > 
> > I am using liblouis for translation in BrailleBack. (*) both for
> > forward and backtranslation.  Todya, I was testing the de-de-comp8.ctb
> > table for user input.  It looked great on the braille
> > display, but the characters that were actually backtranslated to
> > were the unicode braille patterns.  The reason for this (ammusing) behaviour
> > is that de-de-comp8.ctb includes braille-patterns, which it has
> > done since subversion revision 775.  It can be fixed by moving the include 
> > to the bottom of the file (I assume the other directives take precedence 
> > then).
> > 
> > Grepping through the tables, a few other files also include the 
> > braille-patterns.cti
> > file in various locations in the files.  I'd suspect that back
> > translation is more or less broken in those files as well (assuming the 
> > intent
> > is not to get the braille pattern unicode characters back).
> > 
> > Question: is the proper solution to move the include directive to the
> > bottom of the table files or is there a cleaner solution?
> > Is there a reason to not always do this?
> > 
> > Thanks,
> > //Peter
> > 
> > *) For those who wonder, brailleback is the Google android app that
> > provides braille display support on recent versions of the android platform.
> > For a description of the software, to download it and links to
> > project pages go to http://www.abilitiessoft.com
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

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

Other related posts: