liblouis / liblouisutdml

An open-source library providing complete braille transcription services for xml, html and text documents
http://liblouis.io
GNU General Public License v3.0
24 stars 16 forks source link

Nemeth code translation failures #88

Open NSoiffer opened 1 year ago

NSoiffer commented 1 year ago

This incorporates specific failures mentioned in #60, #61, #62, #63, and #64.

I ran MathCAT braille tests on liblouisutdml and there was only a ~15% success rate. The test results are attached.

The MathCAT tests were taken from the Nemeth "green book". That book has lots of examples which are divided up into "rules", where each rule might have several parts and each part might have several examples. The tests are numbered so that one can easily refer back to the green book. For example, "overbar_86_b_10" is a test involving overbars. That test is Rule 86, part b, example 10.

I have also attached the results of running the existing mathml_nemeth tests. These tests were done using liblouis-3.24.0 and liblouisutdml-2.11.0 compiled for windows.

The results include both the successes and failures. I wasn't able to get run_test.sh to work for me so I wrote a python script that calls file2brl with the same arguments that run_test.sh uses. The attached files are the results from that script.

Files: nemeth_MathCAT-results.txt mathml_nemeth-results.txt

I will submit a PR to include the MathCAT tests are part of the tests dir.

hammera commented 1 year ago

Hi Neil,

How can I possible run your Mathcat tests my feature branch? In the tests/nemeth_mathcat directory I not see make files with integrate the test. Possible I grab wrong commit with contains only the test data related files (xml files, expected.txt files). I using Ubuntu based distribution, not windows.

Thanks your help,

Attila