|
From: <fri...@us...> - 2008-12-30 14:31:28
|
Revision: 9657
http://zaf.svn.sourceforge.net/zaf/?rev=9657&view=rev
Author: friedelwolff
Date: 2008-12-30 14:31:17 +0000 (Tue, 30 Dec 2008)
Log Message:
-----------
Support the exclusive aspectual morpheme (-ka-) with negative infinitives and negative indicative present tense
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-30 13:07:26 UTC (rev 9656)
+++ trunk/dict/zu/hunspell/zu_aff.py 2008-12-30 14:31:17 UTC (rev 9657)
@@ -32,8 +32,7 @@
#TODO: be- and se- verbs
#TODO: non-indicative modes, positive and negative
#TODO: aspectual morphemes with non-indicative modes (+/-)
-#TODO: exclusive aspectual morpheme (ka) with indicative, present, negative
-#TODO: exclusive aspectual morpheme (ka) with infinitive
+#TODO: exclusive aspectual morpheme (ka) with object morpheme?
#TODO: monosyllabic verbs
#TODO: statives
#TODO: auxilary verbs
@@ -394,8 +393,11 @@
# Duplicate it for the sake of the indicative long form, present, positive
# Here we don't use verb_rules, because this will always combine with -ya-
simple_subjects.add_rule(affix=morpheme)
- # Indicative, present, negative with subject morpheme only
+ # Indicative, present+past, negative with subject morpheme only
verb_rules(main_subjects, affix=add_semivowels("a"+morpheme), needaffix=True, circumfix=True, continuation_classes=[negative_i, negative_anga])
+ # Indicative, present, negative with subject morpheme and exclusive aspectual morpheme (-ka-)
+ #TODO: will verb_rules do the right thing here to elide the 'a' of 'ka' for vowel verbs?
+ verb_rules(main_subjects, affix=add_semivowels("a"+morpheme)+"ka", needaffix=True, circumfix=True, continuation_classes=[negative_i])
#Negative future tenses
verb_rules(simple_subjects_neg, affix=(add_semivowels("a" + morpheme)))
@@ -439,6 +441,8 @@
verb_rules(infixes, affix="ukusa", morphology="INFINITIVE_PROG", continuation_classes=[locative])
#infinitive, negative
verb_rules(infixes, affix="ukunga", needaffix=True, circumfix=True, morphology="INFINITIVE_NEG", continuation_classes=[negative_i])#XXX
+ #infinitive, negative, with -ka- exclusive aspectual morpheme
+ verb_rules(infixes, affix="ukungaka", needaffix=True, circumfix=True, morphology="INFINITIVE_NEG_EXCL", continuation_classes=[negative_i])#XXX
for morpheme in object_morphemes:
#Although this makes sense, this causes rules from main_subjects with mandatory continuation classes to
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|