1
0
forked from GitHub/gf-rgl

adjusting Fre question forms

This commit is contained in:
Aarne Ranta
2017-10-04 15:03:56 +02:00
parent 76d6749797
commit 77ecb64756
6 changed files with 19 additions and 5 deletions

View File

@@ -3,7 +3,8 @@
instance DiffFre of DiffRomance - [ instance DiffFre of DiffRomance - [
imperClit, imperClit,
invertedClause, invertedClause,
verbHyphen verbHyphen,
iAdvQuestionInv
] ]
= open CommonRomance, PhonoFre, Prelude in { = open CommonRomance, PhonoFre, Prelude in {
@@ -152,6 +153,8 @@ instance DiffFre of DiffRomance - [
_ => c1 ++ c2 _ => c1 ++ c2
} ; } ;
iAdvQuestionInv : Direct = DDir ;
bindHyphen : Str = BIND ++ "-" ++ BIND ; bindHyphen : Str = BIND ++ "-" ++ BIND ;
CopulaType = {} ; CopulaType = {} ;

View File

@@ -20,6 +20,10 @@ concrete ExtraFre of ExtraFreAbs = ExtraRomanceFre **
a = aagr Fem Pl a = aagr Fem Pl
} ; } ;
EstcequeCl cl = {
s = \\t,a,p,q => "est-ce" ++ elisQue ++ cl.s ! DDir ! t ! a ! p ! Indic
} ;
i8fem_Pron = mkPronoun i8fem_Pron = mkPronoun
(elision "j") (elision "m") (elision "m") "moi" "mon" (elisPoss "m") "mes" (elision "j") (elision "m") (elision "m") "moi" "mon" (elisPoss "m") "mes"
Fem Sg P1 ; Fem Sg P1 ;

View File

@@ -15,6 +15,10 @@ abstract ExtraFreAbs = ExtraRomanceAbs - [ProDrop] ** {
QueestcequeIP : IP ; -- qu'est-ce (que/qui) QueestcequeIP : IP ; -- qu'est-ce (que/qui)
QuiestcequeIP : IP ; -- qu'est-ce (que/qui) QuiestcequeIP : IP ; -- qu'est-ce (que/qui)
-- This is needed for compositionality in library applications.
EstcequeCl : Cl -> QCl ; -- est-ce qu'il pleut
-- Feminine variants of pronouns (those in $Structural$ are -- Feminine variants of pronouns (those in $Structural$ are
-- masculine, which is the default when gender is unknown). -- masculine, which is the default when gender is unknown).

View File

@@ -59,6 +59,9 @@ interface DiffRomance = open CommonRomance, Prelude in {
oper serCopula : CopulaType ; oper serCopula : CopulaType ;
oper estarCopula : CopulaType ; oper estarCopula : CopulaType ;
-- To decide if adverbial questions are inverted
oper iAdvQuestionInv : Direct = DInv ; -- except Fre
--2 Constants that must derivatively depend on language --2 Constants that must derivatively depend on language

View File

@@ -38,8 +38,8 @@ incomplete concrete QuestionRomance of Question =
s = \\t,a,p,q => s = \\t,a,p,q =>
let let
ord = case q of { ord = case q of {
QDir => DInv ; QDir => iAdvQuestionInv ;
QIndir => DInv QIndir => iAdvQuestionInv
} ; } ;
cls = cl.s ! ord ! t ! a ! p ! Indic ; cls = cl.s ! ord ! t ! a ! p ! Indic ;
why = iadv.s why = iadv.s

View File

@@ -12,7 +12,7 @@ incomplete concrete PhraseScand of Phrase =
UttIP ip = {s = ip.s ! nominative} ; --- Acc also UttIP ip = {s = ip.s ! nominative} ; --- Acc also
UttIAdv iadv = iadv ; UttIAdv iadv = iadv ;
UttNP np = {s = np.s ! accusative} ; UttNP np = {s = np.s ! nominative} ;
UttVP vp = {s = infMark ++ infVP vp (agrP3 Utr Sg)} ; UttVP vp = {s = infMark ++ infVP vp (agrP3 Utr Sg)} ;
UttAdv adv = adv ; UttAdv adv = adv ;
UttCN n = {s = n.s ! Sg ! DIndef ! Nom} ; UttCN n = {s = n.s ! Sg ! DIndef ! Nom} ;