mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-16 16:29:32 -06:00
Cleaned up the Demo conrecte syntaxes now that they don't have to list the restricted inheritance. Added language codes.
This commit is contained in:
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoBul of Demo =
|
||||
NounBul - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbBul,
|
||||
ClauseBul, --
|
||||
AdjectiveBul - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounBul,
|
||||
ClauseBul,
|
||||
AdjectiveBul,
|
||||
AdverbBul,
|
||||
NumeralBul,
|
||||
---- SentenceBul,
|
||||
QuestionBul - [QuestVP,QuestSlash],
|
||||
---- RelativeBul,
|
||||
---- ConjunctionBul,
|
||||
---- PhraseBul,
|
||||
---- TextX,
|
||||
---- IdiomBul,
|
||||
StructuralBul - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionBul,
|
||||
StructuralBul,
|
||||
LexiconBul
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = bg; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoCat of Demo =
|
||||
NounCat - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbCat,
|
||||
ClauseCat, --
|
||||
AdjectiveCat - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounCat,
|
||||
ClauseCat,
|
||||
AdjectiveCat,
|
||||
AdverbCat,
|
||||
NumeralCat,
|
||||
---- SentenceCat,
|
||||
QuestionCat - [QuestVP,QuestSlash],
|
||||
---- RelativeCat,
|
||||
---- ConjunctionCat,
|
||||
---- PhraseCat,
|
||||
---- TextX,
|
||||
---- IdiomCat,
|
||||
StructuralCat - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionCat,
|
||||
StructuralCat,
|
||||
LexiconCat
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = ca; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoDan of Demo =
|
||||
NounDan - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbDan,
|
||||
ClauseDan, --
|
||||
AdjectiveDan - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounDan,
|
||||
ClauseDan,
|
||||
AdjectiveDan,
|
||||
AdverbDan,
|
||||
NumeralDan,
|
||||
---- SentenceDan,
|
||||
QuestionDan - [QuestVP,QuestSlash],
|
||||
---- RelativeDan,
|
||||
---- ConjunctionDan,
|
||||
---- PhraseDan,
|
||||
---- TextX,
|
||||
---- IdiomDan,
|
||||
StructuralDan - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionDan,
|
||||
StructuralDan,
|
||||
LexiconDan
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = da; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoEng of Demo =
|
||||
NounEng - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbEng,
|
||||
ClauseEng, --
|
||||
AdjectiveEng - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounEng,
|
||||
ClauseEng,
|
||||
AdjectiveEng,
|
||||
AdverbEng,
|
||||
NumeralEng,
|
||||
---- SentenceEng,
|
||||
QuestionEng - [QuestVP,QuestSlash],
|
||||
---- RelativeEng,
|
||||
---- ConjunctionEng,
|
||||
---- PhraseEng,
|
||||
---- TextX,
|
||||
---- IdiomEng,
|
||||
StructuralEng - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionEng,
|
||||
StructuralEng,
|
||||
LexiconEng
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = en; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoFin of Demo =
|
||||
NounFin - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbFin,
|
||||
ClauseFin, --
|
||||
AdjectiveFin - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounFin,
|
||||
ClauseFin,
|
||||
AdjectiveFin,
|
||||
AdverbFin,
|
||||
NumeralFin,
|
||||
---- SentenceFin,
|
||||
QuestionFin - [QuestVP,QuestSlash],
|
||||
---- RelativeFin,
|
||||
---- ConjunctionFin,
|
||||
---- PhraseFin,
|
||||
---- TextX,
|
||||
---- IdiomFin,
|
||||
StructuralFin - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionFin,
|
||||
StructuralFin,
|
||||
LexiconFin
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = fi; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoFre of Demo =
|
||||
NounFre - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbFre,
|
||||
ClauseFre, --
|
||||
AdjectiveFre - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounFre,
|
||||
ClauseFre,
|
||||
AdjectiveFre,
|
||||
AdverbFre,
|
||||
NumeralFre,
|
||||
---- SentenceFre,
|
||||
QuestionFre - [QuestVP,QuestSlash],
|
||||
---- RelativeFre,
|
||||
---- ConjunctionFre,
|
||||
---- PhraseFre,
|
||||
---- TextX,
|
||||
---- IdiomFre,
|
||||
StructuralFre - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionFre,
|
||||
StructuralFre,
|
||||
LexiconFre
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = fr; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoGer of Demo =
|
||||
NounGer - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbGer,
|
||||
ClauseGer, --
|
||||
AdjectiveGer - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounGer,
|
||||
ClauseGer,
|
||||
AdjectiveGer,
|
||||
AdverbGer,
|
||||
NumeralGer,
|
||||
---- SentenceGer,
|
||||
QuestionGer - [QuestVP,QuestSlash],
|
||||
---- RelativeGer,
|
||||
---- ConjunctionGer,
|
||||
---- PhraseGer,
|
||||
---- TextX,
|
||||
---- IdiomGer,
|
||||
StructuralGer - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionGer,
|
||||
StructuralGer,
|
||||
LexiconGer
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = de; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoIta of Demo =
|
||||
NounIta - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbIta,
|
||||
ClauseIta, --
|
||||
AdjectiveIta - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounIta,
|
||||
ClauseIta,
|
||||
AdjectiveIta,
|
||||
AdverbIta,
|
||||
NumeralIta,
|
||||
---- SentenceIta,
|
||||
QuestionIta - [QuestVP,QuestSlash],
|
||||
---- RelativeIta,
|
||||
---- ConjunctionIta,
|
||||
---- PhraseIta,
|
||||
---- TextX,
|
||||
---- IdiomIta,
|
||||
StructuralIta - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionIta,
|
||||
StructuralIta,
|
||||
LexiconIta
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = it; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoNor of Demo =
|
||||
NounNor - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbNor,
|
||||
ClauseNor, --
|
||||
AdjectiveNor - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounNor,
|
||||
ClauseNor,
|
||||
AdjectiveNor,
|
||||
AdverbNor,
|
||||
NumeralNor,
|
||||
---- SentenceNor,
|
||||
QuestionNor - [QuestVP,QuestSlash],
|
||||
---- RelativeNor,
|
||||
---- ConjunctionNor,
|
||||
---- PhraseNor,
|
||||
---- TextX,
|
||||
---- IdiomNor,
|
||||
StructuralNor - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionNor,
|
||||
StructuralNor,
|
||||
LexiconNor
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = no; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoRus of Demo =
|
||||
NounRus - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbRus,
|
||||
ClauseRus, --
|
||||
AdjectiveRus - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounRus,
|
||||
ClauseRus,
|
||||
AdjectiveRus,
|
||||
AdverbRus,
|
||||
NumeralRus,
|
||||
---- SentenceRus,
|
||||
QuestionRus - [QuestVP,QuestSlash],
|
||||
---- RelativeRus,
|
||||
---- ConjunctionRus,
|
||||
---- PhraseRus,
|
||||
---- TextX,
|
||||
---- IdiomRus,
|
||||
StructuralRus - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionRus,
|
||||
StructuralRus,
|
||||
LexiconRus
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = ru; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoSpa of Demo =
|
||||
NounSpa - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbSpa,
|
||||
ClauseSpa, --
|
||||
AdjectiveSpa - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounSpa,
|
||||
ClauseSpa,
|
||||
AdjectiveSpa,
|
||||
AdverbSpa,
|
||||
NumeralSpa,
|
||||
---- SentenceSpa,
|
||||
QuestionSpa - [QuestVP,QuestSlash],
|
||||
---- RelativeSpa,
|
||||
---- ConjunctionSpa,
|
||||
---- PhraseSpa,
|
||||
---- TextX,
|
||||
---- IdiomSpa,
|
||||
StructuralSpa - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionSpa,
|
||||
StructuralSpa,
|
||||
LexiconSpa
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = es; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,24 +1,16 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoSwe of Demo =
|
||||
NounSwe - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,
|
||||
ApposCN,MassNP,DetNP,ComplN3,Use2N3,Use3N3,AdvNP],
|
||||
-- VerbSwe,
|
||||
ClauseSwe, --
|
||||
AdjectiveSwe - [SentAP,ComplA2,UseA2,DemoA2],
|
||||
NounSwe,
|
||||
ClauseSwe,
|
||||
AdjectiveSwe,
|
||||
AdverbSwe,
|
||||
NumeralSwe,
|
||||
---- SentenceSwe,
|
||||
QuestionSwe - [QuestVP,QuestSlash],
|
||||
---- RelativeSwe,
|
||||
---- ConjunctionSwe,
|
||||
---- PhraseSwe,
|
||||
---- TextX,
|
||||
---- IdiomSwe,
|
||||
StructuralSwe - [everybody_NP,everything_NP,something_NP],
|
||||
QuestionSwe,
|
||||
StructuralSwe,
|
||||
LexiconSwe
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
flags language = sv; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
Reference in New Issue
Block a user