mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-02 07:42: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 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) ;
|
||||
|
||||
} ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user