mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-07-01 11:28:33 -06:00
a simpler and better Demo file set for resource grammars
This commit is contained in:
+6
-20
@@ -1,24 +1,10 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoHin of Demo =
|
||||
NounHin - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbHin,
|
||||
ClauseHin, --
|
||||
AdjectiveHin - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
AdverbHin,
|
||||
NumeralHin,
|
||||
---- SentenceHin,
|
||||
QuestionHin - [QuestVP,QuestSlash],
|
||||
---- RelativeHin,
|
||||
---- ConjunctionHin,
|
||||
---- PhraseHin,
|
||||
---- TextX,
|
||||
---- IdiomHin,
|
||||
StructuralHin - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconHin
|
||||
** {
|
||||
concrete DemoHin of Demo = LangHin **
|
||||
open LangHin 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