[liblouis-liblouisxml] Re: liblouis tools

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 13 Apr 2012 07:22:09 -0500

Hi Mesar,

How did you get this typescript? Christian mentioned a way of doing so, 
but I can't quite remember. In any case, I encounter a strange problem 
when using letterDefTest.ctb with lou_allround . I want to fix this 
before proceeding.

Thanks,
John

On Fri, Apr 13, 2012 at 10:05:18AM +0100, Mesar Hameed wrote:
> Hi John,
> 
> Trying a forward translation of "ms" with the letterDefTest.ctb with the 
> allround tool doesn't seem to show the correct text.
> 
> The typescript file of the session is attached.
> 
> I don't see the unicode characters of the expected dots being output.
> 
> Mesar
> On Wed 28/03/12,09:27, John J. Boyer wrote:
> > For newcomers and anyone who would like a memory refresh. There are 
> > several tools that can be used to check liblouis tables. They are in the 
> > tools subdirectory. These tools can be used in Linux and on the Mac. 
> > They have not been ported to Windows. Only the liblouis library itself 
> > is available on Windows, since that is what is needed by applications. 
> > The tools can be ported if anyone has time. However, the checktable 
> > function is available on the BrailleBlaster command line on all 
> > platforms.
> > 
> > First is lou_allround which has been conspicuous in recent messages. It 
> > is used to examinne the function of a table dynamically. The tester can 
> > input various things and observe both the translation and 
> > back-translation. Mode bits can be set, cursor positioning can be 
> > examined, etc. It is a completely interactive command[line application. 
> > Help  that explains the various commands is available by using the 
> > (h)elp command. 
> > 
> > Lou_debug is used to examine compiled tables. It can show what is in 
> > various hash buckets, how entries are linked in hash chains, etc. It is 
> > also an interactive command-line application.
> > 
> > Lou_checktable is used to make sure that completed tables are correct. 
> > It takes the name of the table as its argument. Error messages are 
> > printed giving the file and line of the eror. Tables with any erors will 
> > be rejected if an attempt is made to use them for translation.
> > 
> > lou_checkhyphens is used to examine the accuracy of the hyphenation 
> > provided by a hyphenation table.
> > 
> > lou_translate is intended to check whether large files are handled 
> > correctly. It prints the translation line-by-line. Do not use 
> > lou_translate for production. It is a test tool only.
> > 
> > John
> > 
> > -- 
> > 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

> Script started on Fri 13 Apr 2012 09:20:12 BST
> ]0;cs3mmh@Venus: 
> ~/lbuild/liblouis-commit/trunk/toolscs3mmh@Venus:~/lbuild/liblouis-commit/trunk/tools$
>  ./lou_allround 
> Press one of the letters in parentheses, then enter.
> (t)able, (r)un, (m)ode, (c)ursor, (e)mphasis, (s)pacing, (h)elp,
> (q)uit, (f)orward-only, (b)ack-only, show-(p)ositions m(i)nimal.
> test-(l)engths.
> Command: t
> Enter the name of a table: letterDefTest.ctb
> Command: f
> Do only forward translation? y/n: y
> Command: r
> Type something, press enter, and view the results.
> A blank line returns to command entry.
> ms
> Translation:
> 

> 
> Press one of the letters in parentheses, then enter.
> (t)able, (r)un, (m)ode, (c)ursor, (e)mphasis, (s)pacing, (h)elp,
> (q)uit, (f)orward-only, (b)ack-only, show-(p)ositions m(i)nimal.
> test-(l)engths.
> Command: q
> ]0;cs3mmh@Venus: 
> ~/lbuild/liblouis-commit/trunk/toolscs3mmh@Venus:~/lbuild/liblouis-commit/trunk/tools$
>  exit
> exit
> 
> Script done on Fri 13 Apr 2012 09:20:58 BST


-- 
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: