[liblouis-liblouisxml] Re: Problem with the num inddicator

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Wed, 30 Aug 2017 12:28:22 +0200

Hi Michel,

I can have a look at your table, but first may I ask you to write some unit
tests for me that show exactly what you are expecting. Preferably in YAML
format (http://liblouis.org/documentation/liblouis.html#YAML-Tests), but
just sending me a list of inputs and expected outputs is fine too. This way
we make sure there are no misunderstandings and it is easier for me to help
you.

Also send us the latest version of your table (if you haven't already).


Thanks,
Bert




2017-08-29 19:14 GMT+02:00 Michel Such <michel.such@xxxxxxx>:

Hi Bert,


In fact, I get no problem with forward translation where everything works
fine.

Big problems come with backtranslation, especially with table
fr-bfu-g2.ctb that I'm trying to pudate.

This table incldes the fr-bfu-comp6.utb in which I made the following
change:

sign \x0060 6       #
and then

numsign 6


In backtranslation, when trying to enter a number, Liblouis seems to
forget the num indicator placed at the beginning after the first digit.

In some cases, even for the first digit, the braille dots are recognized
as a contraction of letters if the dots pattern is the same.

So I don't know how to tell Liblouis to take clearly in count this num
indicator.

I've tried many solutions, enven playing with pultipass opcodes, but at
this point I found no reliable solution.




Le 2017-08-28 à 23:48, Bert Frees a écrit :

Hi Michel,

I know it's a very late reply but it might still help you. I've looked at
your table and it appears that it contains the following definition:

    sign \X0082 6

This rule causes dot 6 (the num sign) to be displayed as U+0082, which is
a control character and therefore invisible.

Isn't the name of the table wrong by the way? The name suggests it is a
computer braille table, but you say it is uncontracted 6 dots?


Regards,
Bert



2017-07-30 10:58 GMT+02:00 Michel Such <michel.such@xxxxxxx>:

Hi,


How to explain:

When I enter numbers and convert them to braille using table
fr-bfu-comp6.utb which is for uncontracted 6 dots french, the num indicator
is never displayed (dot 6).

Wher could it come from?

I suspect it is cause of other problems when backtranslating.



--


Michel Such

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



--


Michel Such


Other related posts: