|
From: <fri...@us...> - 2008-12-29 14:48:59
|
Revision: 9652
http://zaf.svn.sourceforge.net/zaf/?rev=9652&view=rev
Author: friedelwolff
Date: 2008-12-29 14:48:49 +0000 (Mon, 29 Dec 2008)
Log Message:
-----------
Add basic support for negative future indicative negative (short and long form). This requires another simple subjects class for negative subject morphemes.
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 14:46:31 UTC (rev 9651)
+++ trunk/dict/zu/hunspell/zu_aff.py 2008-12-29 14:48:49 UTC (rev 9652)
@@ -362,6 +362,11 @@
# This group will contain plain positive indicative subject morphemes that
# can combine with -ya-. This will duplicate some contents of main_subjects.
+ simple_subjects_neg = aff.add_group(suffix=False, flag="n")
+ # This group will contain negative future indicative subject morphemes that
+ # can combine with -zu- / -zuku-. This will duplicate some contents of
+ # main_subjects.
+
infixes = aff.add_group(suffix=False, flag="C")
# This group will contain all prefix groups inserted between the subject
# morpheme and the root. Combinations will be compacted as one prefix.#
@@ -395,9 +400,12 @@
simple_subjects.add_rule(affix=morpheme)
# Indicative, present, negative with subject morpheme only
verb_rules(main_subjects, affix=add_semivowels("a"+morpheme), needaffix=True, circumfix=True, continuation_classes=[negative_indicative])
+ #Negative future tenses:
+ verb_rules(simple_subjects_neg, affix=(add_semivowels("a" + morpheme)))
# We handle class 1 negative separately:
verb_rules(main_subjects, affix="aka", needaffix=True, circumfix=True, continuation_classes=[negative_indicative])
+ simple_subjects_neg.add_rule(affix=add_semivowels("aka"))
#indicative long form, present, positive
verb_rules(infixes, affix="ya", needaffix=True, morphology="PRESENT_IND_LONG", continuation_classes=[simple_subjects])
@@ -412,6 +420,12 @@
verb_rules(infixes, affix="yo", condition="[^aeiou]", needaffix=True, morphology="DISTANT_FUTURE_IND_SHORT", continuation_classes=[simple_subjects])
verb_rules(infixes, affix="yoku", needaffix=True, morphology="DISTANT_FUTURE_IND_LONG", continuation_classes=[simple_subjects])
+ #indicative future tenses, negative
+ verb_rules(infixes, affix="zu", condition="[^aeiou]", needaffix=True, morphology="NEAR_FUTURE_IND_SHORT_NEG", continuation_classes=[simple_subjects_neg])
+ verb_rules(infixes, affix="zuku", needaffix=True, morphology="NEAR_FUTURE_IND_LONG_NEG", continuation_classes=[simple_subjects_neg])
+ verb_rules(infixes, affix="yu", condition="[^aeiou]", needaffix=True, morphology="DISTANT_FUTURE_IND_SHORT_NEG", continuation_classes=[simple_subjects_neg])
+ verb_rules(infixes, affix="yuku", needaffix=True, morphology="DISTANT_FUTURE_IND_LONG_NEG", continuation_classes=[simple_subjects_neg])
+
#-sa- + indicative future tenses
verb_rules(infixes, affix="sazo", condition="[^aeiou]", needaffix=True, morphology="PROG_NEAR_FUTURE_IND_SHORT", continuation_classes=[simple_subjects])
verb_rules(infixes, affix="sazoku", needaffix=True, morphology="PROG_NEAR_FUTURE_IND_LONG", continuation_classes=[simple_subjects])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|