forked from GitHub/gf-rgl
extra French: est-ce que questions
This commit is contained in:
33
resource-1.0/french/ExtraFre.gf
Normal file
33
resource-1.0/french/ExtraFre.gf
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
concrete ExtraFre of ExtraFreAbs = ExtraRomanceFre **
|
||||||
|
open CommonRomance, PhonoFre, ParamX, ResFre in {
|
||||||
|
|
||||||
|
lin
|
||||||
|
EstcequeS qs = {s = "est-ce" ++ elisQue ++ qs.s ! Indic} ;
|
||||||
|
EstcequeIAdvS idet qs = {s = idet.s ++ "est-ce" ++ elisQue ++ qs.s ! Indic} ;
|
||||||
|
|
||||||
|
QueestcequeIP = {
|
||||||
|
s = table {
|
||||||
|
c => prepQue c ++ "est-ce" ++ caseQue c
|
||||||
|
} ;
|
||||||
|
a = aagr Fem Pl
|
||||||
|
} ;
|
||||||
|
|
||||||
|
QuiestcequeIP = {
|
||||||
|
s = table {
|
||||||
|
c => prepQue c ++ "qui" ++ "est-ce" ++ caseQue c
|
||||||
|
} ;
|
||||||
|
a = aagr Fem Pl
|
||||||
|
} ;
|
||||||
|
|
||||||
|
oper
|
||||||
|
prepQue : Case -> Str = \c -> case c of {
|
||||||
|
Nom | Acc => elisQue ;
|
||||||
|
_ => prepCase c ++ "qui" ---
|
||||||
|
} ;
|
||||||
|
caseQue : Case -> Str = \c -> case c of {
|
||||||
|
Nom => "qui" ;
|
||||||
|
_ => elisQue
|
||||||
|
} ;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
17
resource-1.0/french/ExtraFreAbs.gf
Normal file
17
resource-1.0/french/ExtraFreAbs.gf
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
-- Structures special for French. These are not implemented in other
|
||||||
|
-- Romance languages.
|
||||||
|
|
||||||
|
abstract ExtraFreAbs = ExtraRomanceAbs ** {
|
||||||
|
|
||||||
|
-- Notice: only direct (main-clause) questions are generated, and needed.
|
||||||
|
|
||||||
|
fun
|
||||||
|
EstcequeS : S -> Utt ; -- est-ce qu'il pleut
|
||||||
|
EstcequeIAdvS : IAdv -> S -> Utt ; -- où est-ce qu'il pleut
|
||||||
|
|
||||||
|
-- These also generate indirect (subordinate) questions.
|
||||||
|
|
||||||
|
QueestcequeIP : IP ; -- qu'est-ce (que/qui)
|
||||||
|
QuiestcequeIP : IP ; -- qu'est-ce (que/qui)
|
||||||
|
|
||||||
|
}
|
||||||
2
resource-1.0/french/ExtraRomanceFre.gf
Normal file
2
resource-1.0/french/ExtraRomanceFre.gf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
concrete ExtraRomanceFre of ExtraRomanceAbs = CatFre ** ExtraRomance with
|
||||||
|
(ResRomance = ResFre) ;
|
||||||
7
resource-1.0/french/French.gf
Normal file
7
resource-1.0/french/French.gf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
--# -path=.:../romance:../abstract:../common:prelude
|
||||||
|
|
||||||
|
concrete French of FrenchAbs =
|
||||||
|
LangFre,
|
||||||
|
-- IrregFre,
|
||||||
|
ExtraFre
|
||||||
|
** {} ;
|
||||||
5
resource-1.0/french/FrenchAbs.gf
Normal file
5
resource-1.0/french/FrenchAbs.gf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
abstract FrenchAbs =
|
||||||
|
Lang,
|
||||||
|
--- IrregFreAbs,
|
||||||
|
ExtraFreAbs
|
||||||
|
** {} ;
|
||||||
7
resource-1.0/romance/ExtraRomance.gf
Normal file
7
resource-1.0/romance/ExtraRomance.gf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
incomplete concrete ExtraRomance of ExtraRomanceAbs = CatRomance **
|
||||||
|
open
|
||||||
|
CommonRomance,
|
||||||
|
ResRomance in {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
3
resource-1.0/romance/ExtraRomanceAbs.gf
Normal file
3
resource-1.0/romance/ExtraRomanceAbs.gf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
abstract ExtraRomanceAbs = Extra ** {
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user