|
From: <fri...@us...> - 2008-12-29 08:19:46
|
Revision: 9650
http://zaf.svn.sourceforge.net/zaf/?rev=9650&view=rev
Author: friedelwolff
Date: 2008-12-29 08:19:42 +0000 (Mon, 29 Dec 2008)
Log Message:
-----------
If a condition was passed to verb_rules(), ensure that at least the simple rule form is generated. This fixes the bug where -zo- and -yo- was not generated at all
Modified Paths:
--------------
trunk/dict/zu/hunspell/zu_aff.py
Modified: trunk/dict/zu/hunspell/zu_aff.py
===================================================================
--- trunk/dict/zu/hunspell/zu_aff.py 2008-12-29 08:11:35 UTC (rev 9649)
+++ trunk/dict/zu/hunspell/zu_aff.py 2008-12-29 08:19:42 UTC (rev 9650)
@@ -164,8 +164,7 @@
#of the rules
condition = kwargs.pop('condition', '')
if condition:
- #the rule above already generated the simple case and passed the
- #condition.
+ group.add_rule(affix=prefix, condition=condition, **kwargs)
return group.rules
#normal verb starting on consonant:
group.add_rule(affix=prefix, condition="[^aeiou]", **kwargs)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|