[liblouis-liblouisxml] Re: Problem with all caps in en-us-g2.ctb

  • From: Aaron Cannon <cannona@xxxxxxxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 23 Oct 2013 15:27:12 -0500

The current en-us-brf.dis doesn't use the BRF standard either.  I
provided a patch that corrects this issue, but it was never merged,
either because it wasn't accepted, or because it got overlooked.  I'm
not sure which.

Anyway, I'm reattaching to this message in case anyone's interested.

Aaron

On 10/23/13, John J. Boyer <john.boyer@xxxxxxxxxxxxxxxxx> wrote:
> The brf standard requires letters to be in uppercase and also some
> special symbols such as \ . liblouis uses lowercase so that translations
> will look nice on a Braille display. Embossers accept either uppercase
> or lowercaase. If you want something that conforms to the strict brf
> standard use a tablelist like en-us-brf.dis,en-us-g2.ctb Bookshare does
> this, but I don't think it is appropriate for the Braille Plus 18.
>
> liblouis would handle capitalized letters followed by uncapitalized ones
> by inserting dots 6-3 The apostrrophe throws it off. A context rule
> might work. Something like:
>
> $U1-20"'"[]$l @6-3
>
> Johnn
>
> On Wed, Oct 23, 2013 at 06:23:36PM +0000, Ken Perry wrote:
>>
>>
>> I have been starting on fixing some of those problems I have found in
>> en-us-g2.ctb.  I now have a list of 99000 words translated by duxberry and
>> the same list translated by en-us-g2.ctb.   A blaring problem is
>> capitalized words that end in 's.  Liblouis translates the word AIDS'S as
>> ,,aids's where as duxberry does it as ,,AIDS,''S
>> I am a bit out of my legue on what rule will even affect that.  I think ,'
>> is an end caps sign but how do I make liblouis do it?  Also I notice
>> duxberry capitalizes all letters is there a reason we don't?
>>
>> Ken
>
> --
> 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
>
Index: en-us-brf.dis
===================================================================
--- en-us-brf.dis       (revision 985)
+++ en-us-brf.dis       (working copy)
@@ -57,10 +57,40 @@
 display X 1346
 display Y 13456
 display Z 1356
+display 0 356
+display 1 2
+display 2 23
+display 3 25
+display 4 256
+display 5 26
+display 6 235
+display 7 2356
+display 8 236
+display 9 35
+display ' 3
+display @ 4
+display " 5
+display , 6
+display * 16
+display / 34
+display - 36
+display ^ 45
+display . 46
+display ; 56
+display < 126
+display % 146
+display : 156
 display [ 246
-display ] 12456
+display > 345
+display + 346
 display _ 456
+display $ 1246
 display \\ 1256
-display @ 4
-display ^ 45
-
+display ? 1456
+display ! 2346
+display # 3456
+display & 12346
+display ( 12356
+display ] 12456
+display ) 23456
+display = 123456
\ No newline at end of file

Other related posts: