forked from GitHub/gf-core
demo prepared
This commit is contained in:
@@ -51,7 +51,7 @@ langsMath = langsAPI
|
||||
langsTest = langsLang `except` ["Bul","Cat","Hin","Rus","Spa","Tha"]
|
||||
|
||||
-- languages for which to run demo test
|
||||
langsDemo = langsLang `except` ["Bul","Hin","Ina","Rus","Tha"] ---- fix utf8 for Bul,Rus
|
||||
langsDemo = langsLang `except` ["Hin","Ina","Tha"]
|
||||
|
||||
-- languages for which langs.pgf is built
|
||||
langsPGF = langsTest `only` ["Eng","Fre","Swe"]
|
||||
|
||||
@@ -12,6 +12,6 @@ abstract Demo =
|
||||
Phrase,
|
||||
---- Text,
|
||||
---- Idiom,
|
||||
Structural,
|
||||
Structural - [everybody_NP,everything_NP,something_NP],
|
||||
Lexicon ;
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoBul of Demo =
|
||||
NounBul - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounBul - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbBul,
|
||||
ClauseBul, --
|
||||
AdjectiveBul - [SentAP],
|
||||
AdverbBul,
|
||||
NumeralBul,
|
||||
---- SentenceBul,
|
||||
---- QuestionBul,
|
||||
QuestionBul - [QuestVP,QuestSlash],
|
||||
---- RelativeBul,
|
||||
---- ConjunctionBul,
|
||||
---- PhraseBul,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomBul,
|
||||
StructuralBul,
|
||||
StructuralBul - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconBul
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoCat of Demo =
|
||||
NounCat - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounCat - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbCat,
|
||||
ClauseCat, --
|
||||
AdjectiveCat - [SentAP],
|
||||
AdverbCat,
|
||||
NumeralCat,
|
||||
---- SentenceCat,
|
||||
---- QuestionCat,
|
||||
QuestionCat - [QuestVP,QuestSlash],
|
||||
---- RelativeCat,
|
||||
---- ConjunctionCat,
|
||||
---- PhraseCat,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomCat,
|
||||
StructuralCat,
|
||||
StructuralCat - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconCat
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoDan of Demo =
|
||||
NounDan - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounDan - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbDan,
|
||||
ClauseDan, --
|
||||
AdjectiveDan - [SentAP],
|
||||
AdverbDan,
|
||||
NumeralDan,
|
||||
---- SentenceDan,
|
||||
---- QuestionDan,
|
||||
QuestionDan - [QuestVP,QuestSlash],
|
||||
---- RelativeDan,
|
||||
---- ConjunctionDan,
|
||||
---- PhraseDan,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomDan,
|
||||
StructuralDan,
|
||||
StructuralDan - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconDan
|
||||
** {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ concrete DemoEng of Demo =
|
||||
---- PhraseEng,
|
||||
---- TextX,
|
||||
---- IdiomEng,
|
||||
StructuralEng,
|
||||
StructuralEng - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconEng
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoFin of Demo =
|
||||
NounFin - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounFin - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbFin,
|
||||
ClauseFin, --
|
||||
AdjectiveFin - [SentAP],
|
||||
@@ -11,10 +11,10 @@ concrete DemoFin of Demo =
|
||||
QuestionFin - [QuestVP,QuestSlash],
|
||||
---- RelativeFin,
|
||||
---- ConjunctionFin,
|
||||
PhraseFin,
|
||||
---- PhraseFin,
|
||||
---- TextX,
|
||||
---- IdiomFin,
|
||||
StructuralFin,
|
||||
StructuralFin - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconFin
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoFre of Demo =
|
||||
NounFre - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounFre - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbFre,
|
||||
ClauseFre, --
|
||||
AdjectiveFre - [SentAP],
|
||||
AdverbFre,
|
||||
NumeralFre,
|
||||
---- SentenceFre,
|
||||
---- QuestionFre,
|
||||
QuestionFre - [QuestVP,QuestSlash],
|
||||
---- RelativeFre,
|
||||
---- ConjunctionFre,
|
||||
---- PhraseFre,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomFre,
|
||||
StructuralFre,
|
||||
StructuralFre - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconFre
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoGer of Demo =
|
||||
NounGer - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounGer - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbGer,
|
||||
ClauseGer, --
|
||||
AdjectiveGer - [SentAP],
|
||||
AdverbGer,
|
||||
NumeralGer,
|
||||
-- SentenceGer,
|
||||
---- SentenceGer,
|
||||
QuestionGer - [QuestVP,QuestSlash],
|
||||
-- RelativeGer,
|
||||
-- ConjunctionGer,
|
||||
-- PhraseGer,
|
||||
-- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
-- IdiomGer,
|
||||
StructuralGer,
|
||||
---- RelativeGer,
|
||||
---- ConjunctionGer,
|
||||
---- PhraseGer,
|
||||
---- TextX,
|
||||
---- IdiomGer,
|
||||
StructuralGer - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconGer
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoIta of Demo =
|
||||
NounIta - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounIta - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbIta,
|
||||
ClauseIta, --
|
||||
AdjectiveIta - [SentAP],
|
||||
AdverbIta,
|
||||
NumeralIta,
|
||||
---- SentenceIta,
|
||||
---- QuestionIta,
|
||||
QuestionIta - [QuestVP,QuestSlash],
|
||||
---- RelativeIta,
|
||||
---- ConjunctionIta,
|
||||
---- PhraseIta,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomIta,
|
||||
StructuralIta,
|
||||
StructuralIta - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconIta
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoNor of Demo =
|
||||
NounNor - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounNor - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbNor,
|
||||
ClauseNor, --
|
||||
AdjectiveNor - [SentAP],
|
||||
AdverbNor,
|
||||
NumeralNor,
|
||||
---- SentenceNor,
|
||||
---- QuestionNor,
|
||||
QuestionNor - [QuestVP,QuestSlash],
|
||||
---- RelativeNor,
|
||||
---- ConjunctionNor,
|
||||
---- PhraseNor,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomNor,
|
||||
StructuralNor,
|
||||
StructuralNor - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconNor
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoRus of Demo =
|
||||
NounRus - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounRus - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbRus,
|
||||
ClauseRus, --
|
||||
AdjectiveRus - [SentAP],
|
||||
AdverbRus,
|
||||
NumeralRus,
|
||||
---- SentenceRus,
|
||||
---- QuestionRus,
|
||||
QuestionRus - [QuestVP,QuestSlash],
|
||||
---- RelativeRus,
|
||||
---- ConjunctionRus,
|
||||
---- PhraseRus,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomRus,
|
||||
StructuralRus,
|
||||
StructuralRus - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconRus
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ; coding = utf8 ;
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoSpa of Demo =
|
||||
NounSpa - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounSpa - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbSpa,
|
||||
ClauseSpa, --
|
||||
AdjectiveSpa - [SentAP],
|
||||
AdverbSpa,
|
||||
NumeralSpa,
|
||||
---- SentenceSpa,
|
||||
---- QuestionSpa,
|
||||
QuestionSpa - [QuestVP,QuestSlash],
|
||||
---- RelativeSpa,
|
||||
---- ConjunctionSpa,
|
||||
---- PhraseSpa,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomSpa,
|
||||
StructuralSpa,
|
||||
StructuralSpa - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconSpa
|
||||
** {
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
concrete DemoSwe of Demo =
|
||||
NounSwe - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
NounSwe - [AdvCN,PredetNP,PPartNP,RelNP,RelCN,SentCN,ApposCN,MassNP,DetNP],
|
||||
-- VerbSwe,
|
||||
ClauseSwe, --
|
||||
AdjectiveSwe - [SentAP],
|
||||
AdverbSwe,
|
||||
NumeralSwe,
|
||||
---- SentenceSwe,
|
||||
---- QuestionSwe,
|
||||
QuestionSwe - [QuestVP,QuestSlash],
|
||||
---- RelativeSwe,
|
||||
---- ConjunctionSwe,
|
||||
---- PhraseSwe,
|
||||
---- TextX - [Tense,TPres,TPast,TFut,TCond],
|
||||
---- TextX,
|
||||
---- IdiomSwe,
|
||||
StructuralSwe,
|
||||
StructuralSwe - [everybody_NP,everything_NP,something_NP],
|
||||
LexiconSwe
|
||||
** {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user