mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-09 19:22:50 -06:00
a simpler and better Demo file set for resource grammars
This commit is contained in:
@@ -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) ;
|
||||
|
||||
} ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user