Revision: 1001 Author: mesar.hameed Date: Thu Jun 20 08:15:08 2013Log: Hungarian: added a few new exceptions and testcases, also fixed hyphenation problem for 3 words.
Thanks to Attila. http://code.google.com/p/liblouis/source/detail?r=1001 Modified: /trunk/tables/hu-exceptionwords.cti /trunk/tables/hyph_hu_HU.dic /trunk/tests/harness/hu-hu-g1-hyph_harness.txt /trunk/tests/harness/hu-hu-g1_harness.txt /trunk/tests/harnessSources/hu-hu-g1-hyph_harness_source.txt /trunk/tests/harnessSources/hu-hu-g1_harness_source.txt ======================================= --- /trunk/tables/hu-exceptionwords.cti Wed Jun 19 01:37:23 2013 +++ /trunk/tables/hu-exceptionwords.cti Thu Jun 20 08:15:08 2013 @@ -117,6 +117,7 @@partword láncsor = For example karakterláncsor word related need this exception partword ketrec = For example ketreccsapda, ketrecsor words related need this general exception begword spicc = For example spiccszűrőbe word related need this general exception
+begword ércsar 16-1235-14-234-1-1235 For example ércsarukkal word #gy, ggy related exceptions#This exception section containing word parts and full words with need marking ggy letter pairs with single g and gy braille dot combination
@@ -228,6 +229,7 @@partword tisztséggy 2345-24-156-2345-234-16-1245-1456 For example tisztséggyűjtemény word begword szalaggyakor 156-1-123-1-1245-1456-1-13-135-1235 For example szalaggyakorlatát word begword szalaggyűj 156-1-123-1-1245-1456-23456-245 For example szalaggyűjteménye word +partword harang = For example haranggyártás, haranggyárosok words related need this general exception
#ny, nny related exceptions#Following exception parts need marking nny letter pairs with single n and nny braille dot combinations
@@ -303,6 +305,8 @@ always szénnyom 156-16-1345-1246-135-134 For example szénnyomokat word partword arzénny 1-1235-126-16-1345-1246 For example arzénnyom wordbegword bánnyíre 12-4-1345-1246-34-1235-15 For example Bánnyíres town name related need this general exception +partword neutron = For example neutronnyalábokat word related need this general exception +begword önnyug 12345-1345-1246-136-1245 For example önnyugdíjazását word related need this general exception
#ly related exceptions#This exception parts need marking ly letters with two single l and y letter combination
@@ -389,6 +393,10 @@partword utasítás = For example törzsutasításszavakkal, utasításszavakkal related words need this exception partword turizmussz 2345-136-1235-24-126-134-136-234-156 For example turizmusszektor, turizmusszerű words
begword adászár 1-145-4-234-126-4-1235 For example adászárásig word+begword enyves 15-1246-1236-15-234 For example enyveszsinór word related need this exception +partword kortárs = For example kortárszenei word related need this general exception
++partword kórus = For example kóruszene word related need this general exception
#ssz related exceptions#Following exception words and word parts need writing one s and one sz braille letter
@@ -746,6 +754,7 @@begword zavarossz 126-1-1236-1-1235-135-234-156 For example zavarosszürke word
begword gázspra 1245-4-126-234-1234-1235-1 For example gázspray wordalways gázstop 1245-4-126-234-2345-135-1234 For example the gázstop word need this general exception
+begword gázsuga 1245-4-126-234-136-1245-1 For example gázsugarak word partword zsugár 126-234-136-1245-4-1235 For example gázsugár word begword ágyússz 4-1456-346-234-156 For example ágyússzekerek wordbegword alásszolg 1-123-4-234-156-135-123-1245 For example alásszolgája, alásszolgájuk words
@@ -910,6 +919,12 @@begword feszty 124-15-156-2345-13456 If a word beginning with Feszty historical name and have suffixes, need this exception. Always or partword opcode too risk this situation always kismarty = For example Kismarty-Lechner Jenő, Kismarty-Lechner Zita names related need this exception
always tyrannosauru =+always haraszty 125-1-1235-1-156-2345-13456 For example Haraszty Árpád, Haraszty István names related need this general exception +always huszty 125-136-156-2345-13456 For example Huszt István name related need this general exception +always kmety = For example Kmety György Hungarian army generaly name related need this general exception +word lacsny 123-1-146-1345-13456 For example Lacsny Miklós name related need this general exception +begword lacsny 123-1-146-1345-13456 Same exception for Lacsny Miklós name related if the name containing suffixes. Partword or always opcode too risk this exception
+ #zs, zzs related exceptions partword ínházsi 34-1345-125-4-345-24 always topáz 2345-135-1234-4-126 For example topázsárgája word @@ -988,6 +1003,7 @@ partword indszenty 24-1345-145-156-15-1345-2345-13456 always anonymu =always kiszely 13-24-156-15-123-13456 For example István Kiszely name related need this exception
+always hatvany = #Town names related exceptions #Following section containing hungarian town names ======================================= --- /trunk/tables/hyph_hu_HU.dic Wed Jun 19 01:37:23 2013 +++ /trunk/tables/hyph_hu_HU.dic Thu Jun 20 08:15:08 2013 File is too large to display a diff. ======================================= --- /trunk/tests/harness/hu-hu-g1-hyph_harness.txt Wed Jun 19 01:37:23 2013 +++ /trunk/tests/harness/hu-hu-g1-hyph_harness.txt Thu Jun 20 08:15:08 2013 @@ -599,6 +599,10 @@ "input": "emelésszerű", "output": "eme-lés-sze-rű" }, + { + "input": "enyveszsinór", + "output": "eny-ves-zsi-nór" + }, { "input": "erőforrászabáló", "output": "erő-for-rás-za-bá-ló" @@ -625,11 +629,15 @@ }, { "input": "ércsalak", - "output": "ér-cs-a-lak" + "output": "érc-sa-lak" }, { "input": "ércsas", - "output": "ér-csas" + "output": "érc-sas" + }, + { + "input": "ércsarukkal", + "output": "érc-sa-ruk-kal" }, { "input": "ércselyem", @@ -1027,6 +1035,10 @@ "input": "haragoszöld", "output": "ha-ra-gos-zöld" }, + { + "input": "haranggyárosok", + "output": "ha-rang-gyá-ro-sok" + }, { "input": "harcosszellem", "output": "har-cos-szel-lem" @@ -1659,6 +1671,14 @@ "input": "kosszem", "output": "kos-szem" }, + { + "input": "kortárszenei", + "output": "kor-társ-ze-nei" + }, + { + "input": "kóruszene", + "output": "kó-rus-ze-ne" + }, { "input": "köhögésszerű", "output": "kö-hö-gés-sze-rű" @@ -2315,6 +2335,10 @@ "input": "népességgyarapodás", "output": "né-pes-ség-gya-ra-po-dás" }, + { + "input": "neutronnyalábokat", + "output": "ne-ut-ron-nya-lá-bo-kat" + }, { "input": "nyargonccsizma", "output": "nyar-gonc-csiz-ma" @@ -2435,6 +2459,10 @@ "input": "önnyomatú", "output": "ön-nyo-ma-tú" }, + { + "input": "önnyugdíjazását", + "output": "ön-nyug-dí-ja-zá-sát" + }, { "input": "örökséggyűjteményben", "output": "örök-ség-gyűj-te-mény-ben" ======================================= --- /trunk/tests/harness/hu-hu-g1_harness.txt Wed Jun 19 01:37:23 2013 +++ /trunk/tests/harness/hu-hu-g1_harness.txt Thu Jun 20 08:15:08 2013 @@ -594,6 +594,10 @@ "input": "⠑⠍⠑⠇⠡⠎⠱⠑⠗⠾", "output": "emelésszerű" }, + { + "input": "⠑⠫⠧⠑⠎⠜⠊⠝⠪⠗", + "output": "enyveszsinór" + }, { "input": "⠑⠏⠕⠱⠱⠁⠇", "output": "eposszal" @@ -610,6 +614,10 @@ "input": "⠡⠗⠉⠎⠁⠎", "output": "ércsas" }, + { + "input": "⠡⠗⠉⠎⠁⠗⠥⠅⠅⠁⠇", + "output": "ércsarukkal" + }, { "input": "⠡⠗⠉⠎⠑⠸⠑⠍", "output": "ércselyem" @@ -1006,6 +1014,10 @@ "input": "⠓⠁⠗⠁⠛⠕⠎⠣⠟⠇⠙", "output": "haragoszöld" }, + { + "input": "⠓⠁⠗⠁⠝⠛⠹⠈⠗⠕⠎⠕⠅", + "output": "haranggyárosok" + }, { "input": "⠓⠁⠗⠉⠕⠎⠱⠑⠇⠇⠑⠍", "output": "harcosszellem" @@ -1635,6 +1647,14 @@ "output": "kosszem" }, { + "input": "⠅⠕⠗⠞⠈⠗⠎⠣⠑⠝⠑⠊", + "output": "kortárszenei" + }, + { + "input": "⠅⠪⠗⠥⠎⠣⠑⠝⠑", + "output": "kóruszene" + }, + { "input": "⠅⠟⠓⠟⠛⠡⠎⠱⠑⠗⠾", "output": "köhögésszerű" }, @@ -2294,6 +2314,10 @@ "input": "⠝⠡⠏⠑⠎⠎⠡⠛⠹⠁⠗⠁⠏⠕⠙⠈⠎", "output": "népességgyarapodás" }, + { + "input": "⠝⠑⠥⠞⠗⠕⠝⠫⠁⠇⠈⠃⠕⠅⠁⠞", + "output": "neutronnyalábokat" + }, { "input": "⠫⠁⠗⠛⠕⠝⠉⠩⠊⠣⠍⠁", "output": "nyargonccsizma" @@ -2399,13 +2423,17 @@ "output": "önállásszerű" }, { - "input": "⠟⠝⠫⠕⠍⠈⠎⠁⠂", - "output": "önnyomása," + "input": "⠟⠝⠫⠕⠍⠈⠎⠁", + "output": "önnyomása" }, { "input": "⠟⠝⠫⠕⠍⠁⠞⠬ ", "output": "önnyomatú " }, + { + "input": "⠟⠝⠫⠥⠛⠙⠌⠚⠁⠣⠈⠎⠈⠞", + "output": "önnyugdíjazását" + }, { "input": "⠟⠗⠟⠅⠎⠡⠛⠹⠾⠚⠞⠑⠍⠡⠫⠃⠑⠝", "output": "örökséggyűjteményben" @@ -4417,6 +4445,10 @@ "input": "emelésszerű", "output": "⠑⠍⠑⠇⠡⠎⠱⠑⠗⠾" }, + { + "input": "enyveszsinór", + "output": "⠑⠫⠧⠑⠎⠜⠊⠝⠪⠗" + }, { "input": "eposszal", "output": "⠑⠏⠕⠱⠱⠁⠇" @@ -4433,6 +4465,10 @@ "input": "ércsas", "output": "⠡⠗⠉⠎⠁⠎" }, + { + "input": "ércsarukkal", + "output": "⠡⠗⠉⠎⠁⠗⠥⠅⠅⠁⠇" + }, { "input": "ércselyem", "output": "⠡⠗⠉⠎⠑⠸⠑⠍" @@ -4829,6 +4865,10 @@ "input": "haragoszöld", "output": "⠓⠁⠗⠁⠛⠕⠎⠣⠟⠇⠙" }, + { + "input": "haranggyárosok", + "output": "⠓⠁⠗⠁⠝⠛⠹⠈⠗⠕⠎⠕⠅" + }, { "input": "harcosszellem", "output": "⠓⠁⠗⠉⠕⠎⠱⠑⠇⠇⠑⠍" @@ -5458,6 +5498,14 @@ "output": "⠅⠕⠎⠱⠑⠍" }, { + "input": "kortárszenei", + "output": "⠅⠕⠗⠞⠈⠗⠎⠣⠑⠝⠑⠊" + }, + { + "input": "kóruszene", + "output": "⠅⠪⠗⠥⠎⠣⠑⠝⠑" + }, + { "input": "köhögésszerű", "output": "⠅⠟⠓⠟⠛⠡⠎⠱⠑⠗⠾" }, @@ -6117,6 +6165,10 @@ "input": "népességgyarapodás", "output": "⠝⠡⠏⠑⠎⠎⠡⠛⠹⠁⠗⠁⠏⠕⠙⠈⠎" }, + { + "input": "neutronnyalábokat", + "output": "⠝⠑⠥⠞⠗⠕⠝⠫⠁⠇⠈⠃⠕⠅⠁⠞" + }, { "input": "nyargonccsizma", "output": "⠫⠁⠗⠛⠕⠝⠉⠩⠊⠣⠍⠁" @@ -6222,13 +6274,17 @@ "output": "⠟⠝⠈⠇⠇⠈⠎⠱⠑⠗⠾" }, { - "input": "önnyomása,", - "output": "⠟⠝⠫⠕⠍⠈⠎⠁⠂" + "input": "önnyomása", + "output": "⠟⠝⠫⠕⠍⠈⠎⠁" }, { "input": "önnyomatú ", "output": "⠟⠝⠫⠕⠍⠁⠞⠬ " }, + { + "input": "önnyugdíjazását", + "output": "⠟⠝⠫⠥⠛⠙⠌⠚⠁⠣⠈⠎⠈⠞" + }, { "input": "örökséggyűjteményben", "output": "⠟⠗⠟⠅⠎⠡⠛⠹⠾⠚⠞⠑⠍⠡⠫⠃⠑⠝" =======================================--- /trunk/tests/harnessSources/hu-hu-g1-hyph_harness_source.txt Wed Jun 19 01:37:23 2013 +++ /trunk/tests/harnessSources/hu-hu-g1-hyph_harness_source.txt Thu Jun 20 08:15:08 2013
@@ -443,6 +443,9 @@ testmode: hyphenate emelésszerű +testmode: hyphenate +enyveszsinór + testmode: hyphenate erőforrászabáló @@ -467,6 +470,9 @@ testmode: hyphenate ércsas +testmode: hyphenate +ércsarukkal + testmode: hyphenate ércselyem @@ -764,6 +770,9 @@ testmode: hyphenate haragoszöld +testmode: hyphenate +haranggyárosok + testmode: hyphenate harcosszellem @@ -1238,6 +1247,12 @@ testmode: hyphenate kosszem +testmode: hyphenate +kortárszenei + +testmode: hyphenate +kóruszene + testmode: hyphenate köhögésszerű @@ -1730,6 +1745,9 @@ testmode: hyphenate népességgyarapodás +testmode: hyphenate +neutronnyalábokat + testmode: hyphenate nyargonccsizma @@ -1820,6 +1838,9 @@ testmode: hyphenate önnyomatú +testmode: hyphenate +önnyugdíjazását + testmode: hyphenate örökséggyűjteményben =======================================--- /trunk/tests/harnessSources/hu-hu-g1_harness_source.txt Wed Jun 19 01:37:23 2013 +++ /trunk/tests/harnessSources/hu-hu-g1_harness_source.txt Thu Jun 20 08:15:08 2013
@@ -735,6 +735,11 @@ testmode: backtranslate emelésszerű +enyveszsinór + +testmode: backtranslate +enyveszsinór + eposszal testmode: backtranslate @@ -755,6 +760,11 @@ testmode: backtranslate ércsas +ércsarukkal + +testmode: backtranslate +ércsarukkal + ércselyem testmode: backtranslate @@ -1250,6 +1260,11 @@ testmode: backtranslate haragoszöld +haranggyárosok + +testmode: backtranslate +haranggyárosok + harcosszellem testmode: backtranslate @@ -2035,6 +2050,16 @@ testmode: backtranslate kosszem +kortárszenei + +testmode: backtranslate +kortárszenei + +kóruszene + +testmode: backtranslate +kóruszene + köhögésszerű testmode: backtranslate @@ -2860,6 +2885,11 @@ testmode: backtranslate népességgyarapodás +neutronnyalábokat + +testmode: backtranslate +neutronnyalábokat + nyargonccsizma testmode: backtranslate @@ -2990,16 +3020,21 @@ testmode: backtranslate önállásszerű -önnyomása, +önnyomása testmode: backtranslate -önnyomása, +önnyomása önnyomatú testmode: backtranslate önnyomatú +önnyugdíjazását + +testmode: backtranslate +önnyugdíjazását + örökséggyűjteményben testmode: backtranslate @@ -3007,7 +3042,6 @@ örvénylésszerű - testmode: backtranslate örvénylésszerű