[Hejes-devel] [1679] cosmetics

hejes-devel at nytud.hu hejes-devel at nytud.hu
Mon Nov 21 15:31:13 CET 2016


Revision: 1679
Author:   mittelholcz
Date:     2016-11-21 15:31:13 +0100 (Mon, 21 Nov 2016)
Log Message:
-----------
cosmetics

Modified Paths:
--------------
    trunk/web2py/applications/helyesiras_webdev/modules/egybekulon2.py

Modified: trunk/web2py/applications/helyesiras_webdev/modules/egybekulon2.py
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/modules/egybekulon2.py	2016-10-28 09:53:19 UTC (rev 1678)
+++ trunk/web2py/applications/helyesiras_webdev/modules/egybekulon2.py	2016-11-21 14:31:13 UTC (rev 1679)
@@ -306,19 +306,6 @@
     try:
       sql = 'SELECT actual FROM `ohdict` WHERE norm IN ({0});'.format(','.join([escape_string(x) for x in norm_strings]))
       result = self.dbconn.executesql(sql, as_dict=True) # e.g. [{actual='alma fa'}, {actual='almafa'}]
-      #############################
-      # lagyszaruak
-      # TODO:
-      #   OK: a ragozott alakokra is mukodnie kellene (pl. 'lagyszaruaknak')
-      #   2. honnan jon a magyarazat? Azt is at kell irni, kulonben mas lesz a magyarazat, mint a javaslat.
-      #   OK: lehet, hogy nem kene minden result-ot atirni, ha tobb kulonbozo is van
-      ####
-      #if any([x in ''.join(self.usrtoks) for x in self.literally_exceptions]):
-      #  for res in result:
-      #    if ' ' in res.get('actual', ''):
-      #      res['actual'] = res['actual'].replace(' ', '')
-      ####
-      ############################
     except:
       return False # return safely from any DB error
     # inverse of stemming + store




More information about the Hejes-devel mailing list