|
From: <fri...@us...> - 2009-02-27 09:20:14
|
Revision: 9679
http://zaf.svn.sourceforge.net/zaf/?rev=9679&view=rev
Author: friedelwolff
Date: 2009-02-27 09:19:59 +0000 (Fri, 27 Feb 2009)
Log Message:
-----------
Make infinitives with object morphemes, negative morpheme, or progressive morpheme accept the noun rules as continuation classes. This causes these infinitives to inherit things like possessives, copulatives, associative copulatives.
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-02-27 09:02:55 UTC (rev 9678)
+++ trunk/dict/zu/hunspell/zu_aff.py 2009-02-27 09:19:59 UTC (rev 9679)
@@ -520,6 +520,7 @@
verb_rules(infixes, affix="sa", needaffix=True, morphology="PROG", continuation_classes=[main_subjects])
#potensial aspectual morpheme
verb_rules(infixes, affix="nga", needaffix=True, morphology="POTEN", continuation_classes=[main_subjects])
+ #TODO: verify whether the potential morpheme can be used in other modes like the qualificative
#indicative future tenses
verb_rules(infixes, affix="zo", condition="[^aeiou]", needaffix=True, morphology="NEAR_FUTURE_IND_SHORT", continuation_classes=[simple_subjects])
@@ -564,11 +565,12 @@
# locatives with infinitives are done below with the other locatives.
#infinitive + -sa- progressive aspectual morpheme
- verb_rules(infixes, affix="ukusa", morphology="INFINITIVE_PROG", continuation_classes=[locative_e_ini])
+ verb_rules(infixes, affix="ukusa", morphology="INFINITIVE_PROG", continuation_classes=[locative_e_ini, noun])
#infinitive, negative
- verb_rules(infixes, affix="ukunga", needaffix=True, circumfix=True, morphology="INFINITIVE_NEG", continuation_classes=[negative_i])#XXX
+ verb_rules(infixes, affix="ukunga", needaffix=True, circumfix=True, morphology="INFINITIVE_NEG", continuation_classes=[negative_i, noun])#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
+ #TODO: should this also have the noun rules as continuation class?
for morpheme in object_morphemes:
#Although this makes sense, this causes rules from main_subjects with mandatory continuation classes to
@@ -605,11 +607,11 @@
verb_rules(infixes, affix="sayuku"+morpheme, needaffix=True, morphology="PROG_DISTANT_FUTURE_IND_LONG_NEG_with_OBJ", continuation_classes=[simple_subjects_neg])
#infinitive with object morpheme
- verb_rules(infixes, affix="uku"+morpheme, morphology="INFINITIVE_with_OBJ", continuation_classes=[locative_e_ini])
+ verb_rules(infixes, affix="uku"+morpheme, morphology="INFINITIVE_with_OBJ", continuation_classes=[locative_e_ini, noun])
#negative infinitive with object morpheme
- verb_rules(infixes, affix="ukunga"+morpheme, needaffix=True, circumfix=True, morphology="INFINITIVE_NEG_with_OBJ", continuation_classes=[negative_i])
+ verb_rules(infixes, affix="ukunga"+morpheme, needaffix=True, circumfix=True, morphology="INFINITIVE_NEG_with_OBJ", continuation_classes=[negative_i, noun])
#infinitive + -sa- progressive aspectual morpheme
- verb_rules(infixes, affix="ukusa"+morpheme, morphology="INFINITIVE_PROG_with_OBJ", continuation_classes=[locative_e_ini])
+ verb_rules(infixes, affix="ukusa"+morpheme, morphology="INFINITIVE_PROG_with_OBJ", continuation_classes=[locative_e_ini, noun])
infixes.add_rule(affix="", condition="[^aeiou]", morphology="IMPERATIVE", continuation_classes=[imperative])
infixes.add_rule(affix="y", condition="[aeiou]", morphology="IMPERATIVE", continuation_classes=[imperative])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|