[Hejes-devel] [798] 1. To'th-e'k 2.

hejes-devel at nytud.hu hejes-devel at nytud.hu
Mon Jun 3 12:40:56 CEST 2013


Revision: 798
Author:   nagya
Date:     2013-06-03 12:40:56 +0200 (Mon, 03 Jun 2013)
Log Message:
-----------
1. To'th-e'k 2. ran-tott-hus|-pa-nir 3. -grafia vegu szavak pl. bi-og-ra'-fi-a

Modified Paths:
--------------
    trunk/web2py/applications/helyesiras_webdev/modules/elvalasztas.py
    trunk/web2py/applications/helyesiras_webdev/modules/resources/hyph_hu_HU.dic

Modified: trunk/web2py/applications/helyesiras_webdev/modules/elvalasztas.py
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/modules/elvalasztas.py	2013-06-03 10:33:04 UTC (rev 797)
+++ trunk/web2py/applications/helyesiras_webdev/modules/elvalasztas.py	2013-06-03 10:40:56 UTC (rev 798)
@@ -160,7 +160,9 @@
     return foreigns
   
   for elemzes in elemzesek:
-    if inp.lower().startswith(u"kéneső") or inp.lower().startswith(u"karnagy") or inp.lower().startswith(u"koleszterin") or inp.lower().startswith(u"szemöldök"):
+    if inp.lower().startswith(u"kéneső") or inp.lower().startswith(u"karnagy") or inp.lower().startswith(u"koleszterin") \
+    or inp.lower().startswith(u"szemöldök") or inp.lower().startswith(u"biografik") or inp.lower().startswith(u"poligráf") \
+    or inp.lower().startswith(u"pantográf") :
       break
           
     if len(elemzes) > 2 or elemzes[0][0].find('*') > 0:
@@ -574,13 +576,13 @@
           
           ######to write out hyphen rules for the specific token
           # e.g. rendőr --> write out ren4d3őr, en1dő ...
-          '''
-          for pattern in hyph_patterns:
-            index += 1
+          
+          #for pattern in hyph_patterns:
+          #  index += 1
             #print tokk+" "+pattern
-            if token.find(pattern) > -1:
-              print hyph_rules[index]
-          '''
+          #  if token.find(pattern) > -1:
+          #    print hyph_rules[index]
+          
           tmp2 = '-'.join(tmp1)
           #print tmp2
           

Modified: trunk/web2py/applications/helyesiras_webdev/modules/resources/hyph_hu_HU.dic
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/modules/resources/hyph_hu_HU.dic	2013-06-03 10:33:04 UTC (rev 797)
+++ trunk/web2py/applications/helyesiras_webdev/modules/resources/hyph_hu_HU.dic	2013-06-03 10:40:56 UTC (rev 798)
@@ -99172,4 +99172,24 @@
 .a3s4zimpt
 .ba3bi3t4sé
 .ba3bi3t4so
-.ba3bi3t4si
\ No newline at end of file
+.ba3bi3t4si
+.a3u3to.
+.bi3o4g3rá3fi
+.bi3o4g3ra3fi
+o4g5rá3fi3a
+o4g5rá3fi3á
+.a3u3to4g5ra
+.a3u3to4g5rá
+.fo5no4g5rá
+.pan5to6g5ráf
+.po5li6g5ráf
+.kal3li6g5ráf
+.ra3di3o6g3ram
+.rán3tott3h
+.mik3szá1t6ho
+.mik3szá1t6hi
+.mik3szá1t6hé
+.mik3száth
+.tó3t4hék
+.a3s4zály
+.a3s4zálly
\ No newline at end of file




More information about the Hejes-devel mailing list