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