[liblouis-liblouisxml] Re: Recent liblouis bugfixes

  • From: "Jonathan Sharp" <jonathans@xxxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Wed, 1 Apr 2009 09:41:45 +1300

Hi Mike,

It's not just before a period at the end of a sentence it is before any
punctuation. A possible case could be "... and of, for example, ...". Here
"and" and "of" should be joined but Liblouis doesn't join them.

However, that is slightly different to the bug I came across initially,
which John has now fixed where if two largesign words occur at the end of a
string, then they are not joined. So, for example, if you have an
application where you are translating words into braille as someone types
them on a QWERTY keyboard, then if they type two largesign words and then
pause to read the braille they will see them separated by a space when they
shouldn't be. If they type a few another word or so and check again, the
largesign words will then be joined.

Best regards

Jonathan


-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Sivill
Sent: Wednesday, 1 April 2009 9:24 a.m.
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: Recent liblouis bugfixes

I bet that situation is very rare. Aren't you not supposed to use a
preposition at the end of a sentence? Let alone two of them that stick
together in Braille. Out of curiosity, what was the actual context of this
situation?
Thanks,
Mike

-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
Boyer
Sent: Monday, March 30, 2009 9:35 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Recent liblouis bugfixes

The bug that Jonathan found, concerning large signs at the end of 
strings has been fixed and the fix committed. The other bug, concerning 
large signs followed by a punctuation mark, is more difficult to fix. 
The obvious remedy would cause a string like "and, for" to be translated 
as "&1=" which is not correct. A better fix may appear in the future. 
However, as Jonathan mentioned, situations in which this bug would cause 
a mistranslation are probably very rare.

I have also fixed several bugs associated with the swap opcodes and will 
probably be fixing more in the near future. These opcodes are needed in 
the implementation of UK Maths and similar math codes. These codes are 
much more difficult to implement than Nemeth. I'm working on UK Maths 
and hope to have something in a few weeks.

John

-- 
My websites:
GodTouches Digital Ministry, Inc. http://www.abilitiessoft.com/godtouches
Abilitiessoft, Inc. http://www.abilitiessoft.com
Location: Madison, WI, USA

For a description of the software and to download it go to
http://www.jjb-software.com

For a description of the software and to download it go to
http://www.jjb-software.com
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3978 (20090331) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3978 (20090331) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: