[liblouis-liblouisxml] Re: UEB English (Grade 1) translation - spurious grade 1/letter indicators?

  • From: "Arend Arends" <mada73bg@xxxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Thu, 23 Jul 2015 19:00:46 +0200

It is a known problem for grade 1 tables (a rule for grade 2 is applied).

Mike Gray has solved this in his ueb version, which should be merged in the next release of LibLouis.
Bert Frees has solved it in a different way for the Dutch tables (this is in LibLouis 2.6.3).
You can also use my temporary solution (attached) for en-ueb-g1. That will work with LibLouis 2.6.3.

Arend Arends

-----Oorspronkelijk bericht----- From: Joseph Lee
Sent: Thursday, July 23, 2015 6:48 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: UEB English (Grade 1) translation - spurious grade 1/letter indicators?

Hi,
Which LibLouis version are you using (2.6.3)? If so, we'll take a look at
this issue to see what went wrong with our tables.
Cheers,
Joseph

-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Anthony
Tibbs
Sent: Thursday, July 23, 2015 7:50 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] UEB English (Grade 1) translation - spurious
grade 1/letter indicators?

Good day folks,

I'm new to the LibLouis world, but have a need to integrate braille
translation into a project. Years ago when I first put this together I
hacked together a translation engine that farmed the work out to 'nfbtrans'
but this time around I thought I'd look for something a little more
sophisticated, leading me to liblouis.

Using the en-ueb-g1.ctb table, I've run into some test failures because it
seems that unnecessary grade 1 indicators are being inserted prior to single
letters, e.g. "This is a test" becomes ",this is ;a test".

In that particular case, the grade 2 table gets it right -- but the grade 2
table fails for letters "I" and "O", which also get grade 1 indicators. A,
I, and O have no associated alphabetic wordsign and so do not require a
grade 1 indicator: see UEB Rules 2013, ss. 5.2.1 and 10.1.

The question becomes:

- have I done something wrong usage-wise, such that this OUGHT to work?
- if not, is this a known issue and something that (for now at least) I just
have to post-process to work around?
- if not, should I be opening an issue on Github, or is there some other
process?

Thanks,
Anthony Tibbs
For a description of the software, to download it and links to project pages
go to http://liblouis.org

For a description of the software, to download it and links to
project pages go to http://liblouis.org

Attachment: en-ueb-g1.ctb
Description: Binary data

Other related posts: