|
From: <fri...@us...> - 2009-05-25 16:54:41
|
Revision: 9763
http://zaf.svn.sourceforge.net/zaf/?rev=9763&view=rev
Author: friedelwolff
Date: 2009-05-25 16:54:21 +0000 (Mon, 25 May 2009)
Log Message:
-----------
Support relative/qualificative prefixes in front of identificative 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-05-22 10:54:03 UTC (rev 9762)
+++ trunk/dict/zu/hunspell/zu_aff.py 2009-05-25 16:54:21 UTC (rev 9763)
@@ -39,7 +39,7 @@
#TODO: consider avoiding illegal reflexives
#TODO: hortative particle words
#TODO: noun continuation class for infinitive+obj and negative infinitives?
-#TODO: passives and all their consequences
+#TODO: passives and all their consequences, especially negatives
#TODO: consider doing -eka -ela -ana with rules
#TODO: relative 'be' times should also combine with copulatives
#TODO: phonological alterations with adjectives
@@ -642,6 +642,16 @@
noun_rules(noun, affix="ngu", needaffix=True, morphology="NEG_IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects_neg])
noun_rules(noun, affix="wu", morphology="IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects])
noun_rules(noun, affix="wu", needaffix=True, morphology="NEG_IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects_neg])
+ for prefix in qualificative_prefixes:
+ #TODO: are negatives possible?
+ noun.add_rule(affix=prefix+"y", condition="i", morphology="RELATIVE/QUALIFICATIVE+IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects])
+ #noun.add_rule(affix="y", condition="i", needaffix=True, morphology="NEG_IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects_neg])
+ noun.add_rule(affix=prefix+"ng", condition="a", morphology="RELATIVE/QUALIFICATIVE+IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects])
+ #noun.add_rule(affix="ng", condition="a", needaffix=True, morphology="NEG_IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects_neg])
+ noun_rules(noun, affix=prefix+"ngu", morphology="RELATIVE/QUALIFICATIVE+IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects])
+ #noun_rules(noun, affix="ngu", needaffix=True, morphology="NEG_IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects_neg])
+ noun_rules(noun, affix=prefix+"wu", morphology="RELATIVE/QUALIFICATIVE+IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects])
+ #noun_rules(noun, affix="wu", needaffix=True, morphology="NEG_IDENTIFICATIVE_COPULATIVE", continuation_classes=[simple_subjects_neg])
# comparative particle words
noun_rules(noun, affix="njenga", morphology="COMPARATIVE_PARTICLE")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|