[liblouis-liblouisxml] An universal word exception with need committing before new january release

  • From: Hammer Attila <hammera@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 21 Dec 2012 12:29:55 +0100

Hy,

I added hu-exceptionwords.cti file an universal word exception with handles more cases (for example meglepetésszoftver word).
I added new testcases the hungarian harness files.

Before next january release date anybody possible committing the attached patch? Unfortunately I not have commit access. Commit is absolute not urgent if the team not would like releasing a next bugfix release before january. The patch I tested, not will be producing failures.

If have a schedule date the new january release and I founding more exceptions with real braille usage (browsing internet, reading books, etc), I collecting the exceptions and send a joined patch before release date-1 week. Fortunately not often I found lot of exceptions with need adding the exception table. :-):-)

Attila
Index: tests/harness/hu-hu-g1-hyph_harness.txt
===================================================================
--- tests/harness/hu-hu-g1-hyph_harness.txt     (revision 887)
+++ tests/harness/hu-hu-g1-hyph_harness.txt     (working copy)
@@ -1816,6 +1816,10 @@
           "output": "meggy-vö-rös"
         }, 
         {
+          "input": "meglepetésszoftver", 
+          "output": "meg-le-pe-tés-szoft-ver"
+        }, 
+        {
           "input": "méhesszín", 
           "output": "mé-hesszín"
         }, 
Index: tests/harness/hu-hu-g1_harness.txt
===================================================================
--- tests/harness/hu-hu-g1_harness.txt  (revision 887)
+++ tests/harness/hu-hu-g1_harness.txt  (working copy)
@@ -1803,6 +1803,10 @@
           "output": "meggyvörös"
         }, 
         {
+          "input": "⠍⠑⠛⠇⠑⠏⠑⠞⠡⠎⠱⠕⠋⠞⠧⠑⠗", 
+          "output": "meglepetésszoftver"
+        }, 
+        {
           "input": "⠍⠡⠓⠑⠎⠱⠌⠝", 
           "output": "méhesszín"
         }, 
@@ -5035,6 +5039,10 @@
           "output": "⠍⠑⠹⠹⠧⠟⠗⠟⠎"
         }, 
         {
+          "input": "meglepetésszoftver", 
+          "output": "⠍⠑⠛⠇⠑⠏⠑⠞⠡⠎⠱⠕⠋⠞⠧⠑⠗"
+        }, 
+        {
           "input": "méhesszín", 
           "output": "⠍⠡⠓⠑⠎⠱⠌⠝"
         }, 
Index: tests/harnessSources/hu-hu-g1_harness_source.txt
===================================================================
--- tests/harnessSources/hu-hu-g1_harness_source.txt    (revision 887)
+++ tests/harnessSources/hu-hu-g1_harness_source.txt    (working copy)
@@ -2245,6 +2245,11 @@
 testmode: backtranslate
 meggyvörös
 
+meglepetésszoftver
+
+testmode: backtranslate
+meglepetésszoftver
+
 méhesszín
 
 testmode: backtranslate
Index: tests/harnessSources/hu-hu-g1-hyph_harness_source.txt
===================================================================
--- tests/harnessSources/hu-hu-g1-hyph_harness_source.txt       (revision 887)
+++ tests/harnessSources/hu-hu-g1-hyph_harness_source.txt       (working copy)
@@ -1357,6 +1357,9 @@
 meggyvörös
 
 testmode: hyphenate
+meglepetésszoftver
+
+testmode: hyphenate
 méhesszín
 
 testmode: hyphenate
Index: tables/hu-exceptionwords.cti
===================================================================
--- tables/hu-exceptionwords.cti        (revision 887)
+++ tables/hu-exceptionwords.cti        (working copy)
@@ -314,6 +314,7 @@
 always részárás 1235-16-234-126-4-1235-4-234        For example részárás 
beginning words need this exception
 always légzés 123-16-1245-126-16-234 For example légzésszám, 
légzésszerű, légzészavar words
 partword szavar 234-126-1-1236-1-1235  General exception with handles more 
szavar style words
+always meglepetés =   For example meglepetésszoftver word need this exception
 
 #szs related exceptions
 #This exception list containing some words with need using single s and zs 
braille dots

Other related posts: