[liblouis-liblouisxml] Re: Testing the UEB tables

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 3 Dec 2012 22:41:42 +0100

Hi John,

I intentionally didn't put it in liblouis.h, but in louis.h, because as I 
understand it, liblouis.h is for the public API, whereas louis.h is more for 
internal stuff. Also, trace_translate has TranslationTableRule in its 
signature, and TranslationTableRule is only visible in louis.h.

On 03 Dec 2012, at 21:54, John J. Boyer wrote:

> Hi Bert,
> 
> Could you update the API, that is liblouis.h.in ? That would be a step 
> forward and would encourage others.
> 
> Thanks,
> John
> 
> On Mon, Dec 03, 2012 at 08:53:28PM +0100, Bert Frees wrote:
>> This is exactly why we added the rule tracing feature to liblouis some time 
>> ago. Unfortunately it's not documented anywhere, and it's not in the public 
>> API. So far it's only being used in a little Java tool I wrote. it would be 
>> great if somebody would find the time to integrate this feature in one of 
>> the developer tools (e.g. lou_debug). 
>> 
>> 
>> On 03 Dec 2012, at 18:32, Paul wood wrote:
>> 
>>> Sorry not to be answering your question here, but to do with testing tables 
>>> etc. Is there a way to know where a particular translation rule is being 
>>> obeyed from? To solve this problem we have:
>>> We want the @ sign to be 2346 etc. we check the table we presume it should 
>>> be in and it is defined as always @ 2346 so presumably something else is 
>>> interceding. Is there a way without systematically  going through the 
>>> tables to find the command which is overriding this one?
>>> Thanks
>>> Paul
>>> 
>>> 
>>> On 03/12/2012 4:21 PM, John J. Boyer wrote:
>>>> Now that the UEB tables are in the liblouis svn we can test both 
>>>> translation and back-translation. The best tool for this is 
>>>> lou_allround, which is available if you have built liblouis on Linux or 
>>>> Mac. It is completely interactive. After you give it a table name you 
>>>> can type r for run and then type in anything you want. It will show both 
>>>> the translation and back-translation and will even tell you if the 
>>>> back-translation matches the original by displaying the message "perfect 
>>>> roundtrip!" 
>>>> 
>>>> If there is sufficient demand this facility can be made available on 
>>>> Windows through a BrailleBlaster subcommand.
>>>> 
>>>> John
>>>> 
>>> 
>>> -- 
>>> Paul Wood, Technical Services Leader
>>> Torch Trust
>>> Torch House, Torch Way,
>>> Market Harborough, Leics. LE16 9HL, UK
>>> Direct Line: +44(0)1858 438269
>>> Tel: +44(0)1858 438260, Fax: +44(0)1858 438275
>>> Email: paulw@xxxxxxxxxxxxxx
>>> Website: www.torchtrust.org
>>> 
>>> ____________________________________________________
>>> 
>>> Chief Executive: Dr Gordon Temple
>>> Charity No. 1095904
>>> 
>>> Privileged/Confidential Information may be contained in this message. 
>>> If you are not the intended recipient please destroy this message 
>>> and kindly notify the sender by reply email. The computer from which 
>>> this mail originates is equipped with virus screening software. 
>>> However Torch Trust cannot guarantee that the mail and its attachments 
>>> are free from virus infection.  
>>> 
>> 
> 
> -- 
> 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

Other related posts: