a simpler and better Demo file set for resource grammars

This commit is contained in:
aarne
2010-01-21 09:16:34 +00:00
parent a039808141
commit 37223e742d
42 changed files with 187 additions and 361 deletions

View File

@@ -1,24 +1,10 @@
--# -path=.:alltenses
concrete DemoIna of Demo =
NounIna - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
-- VerbIna,
ClauseIna, --
AdjectiveIna - [SentAP,ComplA2,UseA2,DemoA2],
AdverbIna,
NumeralIna,
---- SentenceIna,
QuestionIna - [QuestVP,QuestSlash],
---- RelativeIna,
---- ConjunctionIna,
---- PhraseIna,
---- TextX,
---- IdiomIna,
StructuralIna - [everybody_NP,everything_NP,something_NP],
LexiconIna
** {
concrete DemoIna of Demo = LangIna **
open LangIna in {
flags startcat = Phr ; unlexer = text ; lexer = text ;
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
} ;
}