[Hejes-devel] [894] spell.py: modified sentence example in get_productive_tips() (suksu: ko:le's)
hejes-devel at nytud.hu
hejes-devel at nytud.hu
Mon Aug 5 10:26:47 CEST 2013
Revision: 894
Author: ludanyizs
Date: 2013-08-05 10:26:47 +0200 (Mon, 05 Aug 2013)
Log Message:
-----------
spell.py: modified sentence example in get_productive_tips() (suksu:ko:le's)
Modified Paths:
--------------
trunk/web2py/applications/helyesiras_webdev/modules/spell.py
Modified: trunk/web2py/applications/helyesiras_webdev/modules/spell.py
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/modules/spell.py 2013-08-05 07:52:00 UTC (rev 893)
+++ trunk/web2py/applications/helyesiras_webdev/modules/spell.py 2013-08-05 08:26:47 UTC (rev 894)
@@ -270,13 +270,13 @@
for morph in ana.morphs:
if re.match("TP(e3|t[123])", morph.tag):
pronoun = PRONOUNS[morph.tag]
- tip = u"Ő azt akarja, hogy " + pronoun + u" " + unicode(tok, 'utf8') + u"."
+ tip = u"Azt akarják, hogy ne " + unicode(tok, 'utf8') + u" tovább."
return tip
elif re.match(".*st$", ana.stem): # -st vegu igek
for morph in ana.morphs:
if "TPt1" in morph.tag:
pronoun = PRONOUNS[morph.tag]
- tip = u"Ő azt akarja, hogy " + pronoun + " " + unicode(tok, 'utf8') + u"."
+ tip = u"Azt akarják, hogy ne " + unicode(tok, 'utf8') + u" tovább."
return tip
elif ana.pos == "FN":
# det = u"az" if tok[0].lower() in VOWELS else u"a"
More information about the Hejes-devel
mailing list