[liblouis-liblouisxml] Re: hyphenation testing in the runHarnessV2.py script

  • From: Mesar Hameed <mesar.hameed@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 6 Jun 2012 09:59:34 +0100

Hi Christian,

Yes as discussed the json format will evolve, I will work with Attila to get 
this done.

in the meantime, can you do the needed changes for configure.ac and Makefile.am 
for v2?
This needs to work for both p2 and 3.

Thanks much,
Mesar
On Wed 06/06/12,10:54, Christian Egli wrote:
> Hi Attila
> 
> Hammer Attila <hammera@xxxxxxxxx> writes:
> 
> > If need renaming the txt and brl entryes for example in and out
> > entryes, need replacing this entry names in the harness files,
> > runHarnessV2.py script and Liblouis documentation.
> 
> Could we maybe take a minute, take a step back and think about the
> format of the tests. Initially all you wanted is to test the
> translations for one given table. You you want to test backtranslation,
> hyphenation, etc. and it to me it appears that the json notation that
> was choosen to represent the test data is not up to the task.
> 
> How about something along the line of the following:
> 
> {
>     "forwardtests": {
>           "table": "hu1.ctb", 
>           "tests": [
>         {
>             "in": "adásszerű"
>             "out": "ad\"s5er}", 
>         }, 
> }
>     "backwardtests": {
>           "table": "hu1.ctb", 
>           "tests": [
>         {
>             "in": "ad\"s5er}", 
>             "out": "adásszerű"
>         }, 
> }
>     "hyphenationtests": {
>           "table": "hu1.ctb, hu.dict", 
>           "tests": [
>         {
>             "in": "blabla", 
>             "out": "bla-bla"
>         }, 
> }
> 
> > 4. Can anybody send me a table name with have included hyphenate table
> > and two or three texts with absolute sure correct hyphenating?
> 
> You should be able to specify both tables as above in the test.
> 
> > If better scheduling the hyphenation test supporting related works
> > with next developing cicle, only need removing the Liblouis
> > documentation the hyphenate value with the testmode field description.
> 
> I cant't parse that.
> 
> Thanks
> Christian
> 
> -- 
> Christian Egli
> Swiss Library for the Blind, Visually Impaired and Print Disabled
> Grubenstrasse 12, CH-8045 Zürich, Switzerland
> 
> -----
> Tag der offenen Tuer
> Die SBS laedt Sie herzlich ein: 30. Juni 2012 von 9 bis 16 Uhr.
> Mehr Informationen erhalten Sie unter www.sbs.ch/offenetuer
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: