renamed lib/src/mini/MiniGrammar to lib/src/demo/ResourceDemo ; added Jap

This commit is contained in:
aarne
2012-05-10 11:54:30 +00:00
parent 36b1e82edb
commit e4c310ec2e
29 changed files with 19 additions and 19 deletions

30
lib/src/old-demo/Demo.gf Normal file
View File

@@ -0,0 +1,30 @@
abstract Demo =
Lang - [
PredetNP, PPartNP, AdvNP, RelNP, DetNP, DetQuantOrd,
NumDigits, AdNum, OrdDigits, OrdNumeral, OrdSuperl, MassNP,
ComplN2, ComplN3, UseN2, Use2N3, Use3N3, AdjCN, RelCN,
AdvCN, SentCN, ApposCN,
PassV2, CompAdv,
-- CompNP,
SlashV2V, SlashV2VNP, ---
ComparA, ComplA2, ReflA2, UseA2, UseComparA, CAdvAP, AdjOrd, SentAP, AdAP,
PredSCVP, AdvSlash, SlashPrep, SlashVS,
EmbedS, EmbedQS, EmbedVP, UseSlash, AdvS, RelS,
CompIP,
PConjConj, VocNP, UttVP,
FunRP,
nothing_NP, nobody_NP, please_Voc, otherwise_PConj, therefore_PConj, but_PConj,
language_title_Utt, whatPl_IP, whoPl_IP, if_then_Conj, either7or_DConj,
both7and_DConj, much_Det, that_Subj, no_Quant,
ImpersCl, GenericCl, CleftNP, CleftAdv, ProgrVP, ImpPl1, ImpP3,
-- ExistNP, ---
ConsNP, ConsAdv, ConsS, ConsRS, ConsAP
]
** {
fun
AdjN : AP -> N -> CN ;
AdAdj : AdA -> A -> AP ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoAra of Demo = LangAra **
open LangAra in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoBul of Demo = LangBul **
open LangBul in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoCat of Demo = LangCat **
open LangCat in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoDan of Demo = LangDan **
open LangDan in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoDut of Demo = LangDut **
open LangDut in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,30 @@
--# -path=.:alltenses
concrete DemoEng of Demo = LangEng - [
PredetNP, PPartNP, AdvNP, RelNP, DetNP, DetQuantOrd,
NumDigits, AdNum, OrdDigits, OrdNumeral, OrdSuperl, MassNP,
ComplN2, ComplN3, UseN2, Use2N3, Use3N3, AdjCN, RelCN,
AdvCN, SentCN, ApposCN,
PassV2, CompAdv,
-- CompNP,
SlashV2V, SlashV2VNP, ---
ComparA, ComplA2, ReflA2, UseA2, UseComparA, CAdvAP, AdjOrd, SentAP, AdAP,
PredSCVP, AdvSlash, SlashPrep, SlashVS,
EmbedS, EmbedQS, EmbedVP, UseSlash, AdvS, RelS,
CompIP,
PConjConj, VocNP, UttVP,
FunRP,
nothing_NP, nobody_NP, please_Voc, otherwise_PConj, therefore_PConj, but_PConj,
language_title_Utt, whatPl_IP, whoPl_IP, if_then_Conj, either7or_DConj,
both7and_DConj, much_Det, that_Subj, no_Quant,
ImpersCl, GenericCl, CleftNP, CleftAdv, ProgrVP, ImpPl1, ImpP3,
-- ExistNP, ---
ConsNP, ConsAdv, ConsS, ConsRS, ConsAP
] **
open LangEng in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,30 @@
--# -path=.:alltenses
concrete DemoFin of Demo = LangFin - [
PredetNP, PPartNP, AdvNP, RelNP, DetNP, DetQuantOrd,
NumDigits, AdNum, OrdDigits, OrdNumeral, OrdSuperl, MassNP,
ComplN2, ComplN3, UseN2, Use2N3, Use3N3, AdjCN, RelCN,
AdvCN, SentCN, ApposCN,
PassV2, CompAdv,
-- CompNP,
SlashV2V, SlashV2VNP, ---
ComparA, ComplA2, ReflA2, UseA2, UseComparA, CAdvAP, AdjOrd, SentAP, AdAP,
PredSCVP, AdvSlash, SlashPrep, SlashVS,
EmbedS, EmbedQS, EmbedVP, UseSlash, AdvS, RelS,
CompIP,
PConjConj, VocNP, UttVP,
FunRP,
nothing_NP, nobody_NP, please_Voc, otherwise_PConj, therefore_PConj, but_PConj,
language_title_Utt, whatPl_IP, whoPl_IP, if_then_Conj, either7or_DConj,
both7and_DConj, much_Det, that_Subj, no_Quant,
ImpersCl, GenericCl, CleftNP, CleftAdv, ProgrVP, ImpPl1, ImpP3,
-- ExistNP, ---
ConsNP, ConsAdv, ConsS, ConsRS, ConsAP
] **
open LangFin in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoFre of Demo = LangFre **
open LangFre in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,30 @@
--# -path=.:alltenses
concrete DemoGer of Demo = LangGer - [
PredetNP, PPartNP, AdvNP, RelNP, DetNP, DetQuantOrd,
NumDigits, AdNum, OrdDigits, OrdNumeral, OrdSuperl, MassNP,
ComplN2, ComplN3, UseN2, Use2N3, Use3N3, AdjCN, RelCN,
AdvCN, SentCN, ApposCN,
PassV2, CompAdv,
-- CompNP,
SlashV2V, SlashV2VNP, ---
ComparA, ComplA2, ReflA2, UseA2, UseComparA, CAdvAP, AdjOrd, SentAP, AdAP,
PredSCVP, AdvSlash, SlashPrep, SlashVS,
EmbedS, EmbedQS, EmbedVP, UseSlash, AdvS, RelS,
CompIP,
PConjConj, VocNP, UttVP,
FunRP,
nothing_NP, nobody_NP, please_Voc, otherwise_PConj, therefore_PConj, but_PConj,
language_title_Utt, whatPl_IP, whoPl_IP, if_then_Conj, either7or_DConj,
both7and_DConj, much_Det, that_Subj, no_Quant,
ImpersCl, GenericCl, CleftNP, CleftAdv, ProgrVP, ImpPl1, ImpP3,
-- ExistNP, ---
ConsNP, ConsAdv, ConsS, ConsRS, ConsAP
] **
open LangGer in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoHin of Demo = LangHin **
open LangHin in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoIna of Demo = LangIna **
open LangIna in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoIta of Demo = LangIta **
open LangIta in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoLat of Demo = LangLat **
open LangLat in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoNor of Demo = LangNor **
open LangNor in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoPol of Demo = LangPol **
open LangPol in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoRon of Demo = LangRon - [SlashVP] **
open LangRon in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoRus of Demo = LangRus **
open LangRus in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,30 @@
--# -path=.:alltenses
concrete DemoSpa of Demo = LangSpa - [
PredetNP, PPartNP, AdvNP, RelNP, DetNP, DetQuantOrd,
NumDigits, AdNum, OrdDigits, OrdNumeral, OrdSuperl, MassNP,
ComplN2, ComplN3, UseN2, Use2N3, Use3N3, AdjCN, RelCN,
AdvCN, SentCN, ApposCN,
PassV2, CompAdv,
-- CompNP,
SlashV2V, SlashV2VNP, ---
ComparA, ComplA2, ReflA2, UseA2, UseComparA, CAdvAP, AdjOrd, SentAP, AdAP,
PredSCVP, AdvSlash, SlashPrep, SlashVS,
EmbedS, EmbedQS, EmbedVP, UseSlash, AdvS, RelS,
CompIP,
PConjConj, VocNP, UttVP,
FunRP,
nothing_NP, nobody_NP, please_Voc, otherwise_PConj, therefore_PConj, but_PConj,
language_title_Utt, whatPl_IP, whoPl_IP, if_then_Conj, either7or_DConj,
both7and_DConj, much_Det, that_Subj, no_Quant,
ImpersCl, GenericCl, CleftNP, CleftAdv, ProgrVP, ImpPl1, ImpP3,
-- ExistNP, ---
ConsNP, ConsAdv, ConsS, ConsRS, ConsAP
] **
open LangSpa in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,30 @@
--# -path=.:alltenses
concrete DemoSwe of Demo = LangSwe - [
PredetNP, PPartNP, AdvNP, RelNP, DetNP, DetQuantOrd,
NumDigits, AdNum, OrdDigits, OrdNumeral, OrdSuperl, MassNP,
ComplN2, ComplN3, UseN2, Use2N3, Use3N3, AdjCN, RelCN,
AdvCN, SentCN, ApposCN,
PassV2, CompAdv,
-- CompNP,
SlashV2V, SlashV2VNP, ---
ComparA, ComplA2, ReflA2, UseA2, UseComparA, CAdvAP, AdjOrd, SentAP, AdAP,
PredSCVP, AdvSlash, SlashPrep, SlashVS,
EmbedS, EmbedQS, EmbedVP, UseSlash, AdvS, RelS,
CompIP,
PConjConj, VocNP, UttVP,
FunRP,
nothing_NP, nobody_NP, please_Voc, otherwise_PConj, therefore_PConj, but_PConj,
language_title_Utt, whatPl_IP, whoPl_IP, if_then_Conj, either7or_DConj,
both7and_DConj, much_Det, that_Subj, no_Quant,
ImpersCl, GenericCl, CleftNP, CleftAdv, ProgrVP, ImpPl1, ImpP3,
-- ExistNP, ---
ConsNP, ConsAdv, ConsS, ConsRS, ConsAP
] **
open LangSwe in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoTha of Demo = LangTha **
open LangTha in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoTur of Demo = LangTur **
open LangTur in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}

View File

@@ -0,0 +1,10 @@
--# -path=.:alltenses
concrete DemoUrd of Demo = LangUrd **
open LangUrd in {
lin
AdjN ap n = AdjCN ap (UseN n) ;
AdAdj ad a = AdAP ad (PositA a) ;
}