[liblouis-liblouisxml] I added a hungarian exception both the hu-exceptionwords.cti file and the test harness file, please commit the patch if you have little time

  • From: Hammer Attila <hammera@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 13 Jun 2012 13:23:23 +0200

Hy Mesar,

I added a hungarian exception word in the hu-exceptionwords.cti file and the test/harness/hu-hu-g1_harness.txt file, the exception word part is formánsszintetizátorok word related. I found this need adding exception with a hungarian laboratory HMM voice related hungarian language article.
English language article link if you are interesting:
http://www.hiradastechnika.hu/data/upload/file/2008/2008_7/HT_0807_5TothNemeth.pdf

I sending attachment the tested patch. If you have a little time, please commit the patch.

Attila
Index: tables/hu-exceptionwords.cti
===================================================================
--- tables/hu-exceptionwords.cti        (revision 696)
+++ tables/hu-exceptionwords.cti        (working copy)
@@ -735,6 +735,7 @@
 begword ikarossz 24-13-1-1235-135-156-156
 partword kattint\x00e1ssz 13-1-2345-2345-24-1345-2345-4-234-156        For 
example kattintásszám word
 begword r\x00fazsossz 1235-346-345-135-234-156 For example rúzsosszájú word
+partword form\x00e1nsszint 124-135-1235-134-4-1345-234-156-24-1345-2345        
For example formánsszintetizátor word
 
 #ty, lly tty related exceptions
 #This exception part containing english words with need presenting original 
english braille rules
Index: tests/harness/hu-hu-g1_harness.txt
===================================================================
--- tests/harness/hu-hu-g1_harness.txt  (revision 696)
+++ tests/harness/hu-hu-g1_harness.txt  (working copy)
@@ -618,6 +618,10 @@
           "output": "forgásszabály"
         }, 
         {
+          "input": 
"�������⠱������⠣������", 
+          "output": "formánsszintetizátorok"
+        }, 
+        {
           "input": "������⠱�⠧��", 
           "output": "forrásszöveg"
         }, 
@@ -3797,6 +3801,10 @@
           "output": "������⠱���⠸"
         }, 
         {
+          "input": "formánsszintetizátorok", 
+          "output": 
"�������⠱������⠣������"
+        }, 
+        {
           "input": "forrásszöveg", 
           "output": "������⠱�⠧��"
         }, 

Other related posts:

  • » [liblouis-liblouisxml] I added a hungarian exception both the hu-exceptionwords.cti file and the test harness file, please commit the patch if you have little time - Hammer Attila