[liblouis-liblouisxml] Re: Testing the UEB tables

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: Bert Frees <bertfrees@xxxxxxxxx>
  • Date: Sat, 15 Dec 2012 14:14:19 +0100

Yesterday I took some time to write a prototype of a tool that prints out all 
the applied rules for a given translation table and input string. It's in SVN 
and it's called lou_trace. Tell me what you think.

Bert

On 03 Dec 2012, at 20:53, 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.  
>> 
> 

Other related posts: