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 DemoTha of Demo =
NounTha - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
-- VerbTha,
ClauseTha, --
AdjectiveTha - [SentAP,ComplA2,UseA2,DemoA2],
AdverbTha,
NumeralTha,
---- SentenceTha,
QuestionTha - [QuestVP,QuestSlash],
---- RelativeTha,
---- ConjunctionTha,
---- PhraseTha,
---- TextX,
---- IdiomTha,
StructuralTha - [everybody_NP,everything_NP,something_NP],
LexiconTha
** {
concrete DemoTha of Demo = LangTha **
open LangTha in {
flags startcat = Phr ; unlexer = text ; lexer = text ;
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
} ;
}