[liblouis-liblouisxml] Re: liblouis 3.4.0 has been released

  • From: Dave Mielke <dave@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 4 Dec 2017 14:38:00 -0500

Here's a simple test for a serious out->in mapping error. I supplied the 
15-character input text "This is a test.". As you can see within the 
following data, the last character - the period - is mapped incorrectly in
both directions:

in->out (minor): s, t, and . are all mapped to the st contraction. Perhaps 
there's a special rule related to st. (i.e. to Saint) that causes this.

out->in (major): The braille . is mapped back to the first text character, i.e. 
it's offset is 0.

txt: This is a test.
brl: ⠠⠹⠀⠊⠎⠀⠁⠀⠞⠑⠌⠲
in->out: 0->0 T->⠠ 0054->2820
in->out: 1->0 h->⠠ 0068->2820
in->out: 2->0 i->⠠ 0069->2820
in->out: 3->0 s->⠠ 0073->2820
in->out: 4->2  ->⠀ 0020->2800
in->out: 5->3 i->⠊ 0069->280A
in->out: 6->4 s->⠎ 0073->280E
in->out: 7->5  ->⠀ 0020->2800
in->out: 8->6 a->⠁ 0061->2801
in->out: 9->7  ->⠀ 0020->2800
in->out: 10->8 t->⠞ 0074->281E
in->out: 11->9 e->⠑ 0065->2811
in->out: 12->10 s->⠌ 0073->280C
in->out: 13->10 t->⠌ 0074->280C
in->out: 14->10 .->⠌ 002E->280C (minor problem)
out->in: 0->0 ⠠->T 2820->0054
out->in: 1->0 ⠹->T 2839->0054
out->in: 2->4 ⠀->  2800->0020
out->in: 3->5 ⠊->i 280A->0069
out->in: 4->6 ⠎->s 280E->0073
out->in: 5->7 ⠀->  2800->0020
out->in: 6->8 ⠁->a 2801->0061
out->in: 7->9 ⠀->  2800->0020
out->in: 8->10 ⠞->t 281E->0074
out->in: 9->11 ⠑->e 2811->0065
out->in: 10->12 ⠌->s 280C->0073
out->in: 11->0 ⠲->T 2832->0054 (major problem)

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke           | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave@xxxxxxxxx | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: