|
From: <fri...@us...> - 2009-05-25 17:56:23
|
Revision: 9767
http://zaf.svn.sourceforge.net/zaf/?rev=9767&view=rev
Author: friedelwolff
Date: 2009-05-25 17:56:09 +0000 (Mon, 25 May 2009)
Log Message:
-----------
Add the missing psosessive morpheme for class 6 and fix a small bug in noun_rules() that popped up with single letter prefixes like this one
Modified Paths:
--------------
trunk/dict/zu/hunspell/zu_aff.py
Modified: trunk/dict/zu/hunspell/zu_aff.py
===================================================================
--- trunk/dict/zu/hunspell/zu_aff.py 2009-05-25 17:20:48 UTC (rev 9766)
+++ trunk/dict/zu/hunspell/zu_aff.py 2009-05-25 17:56:09 UTC (rev 9767)
@@ -65,7 +65,7 @@
situative_prefixes = ["ngi", "u", "si", "ni", "e", "be", "i", "li", "zi", "lu", "bu", "ku"]
concords = subject_morphemes + qualificative_prefixes + situative_prefixes
object_morphemes = ["ngi", "ku", "si", "ni", "m", "ba", "wu", "yi", "li", "wa", "zi", "lu", "bu"]
-possesive_morphemes = ["wa", "ba", "ya", "la", "sa", "za", "lwa", "kwa"]
+possesive_morphemes = ["wa", "ba", "ya", "la", "a", "sa", "za", "lwa", "kwa"]
#bu -> ba
#TODO: review all these adjective things
@@ -257,7 +257,7 @@
# amamanzi (a)amadoda
group.add_rule(affix=prefix, condition="a", **kwargs)
group.add_rule(affix=prefix+'e', condition="i", strip="i", **kwargs)
- if prefix[-1] == "w" and len(prefix) > 1:
+ if prefix and prefix[-1] == "w" and len(prefix) > 1:
# avoid kwo- and lwo- that is changed to ko- and lo-
group.add_rule(affix=prefix[:-1]+'o', condition="u", strip="u", **kwargs)
else:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|