forked from GitHub/gf-core
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
--# -path=.:../romance:../abstract:../../prelude
|
|
|
|
concrete StructuralFre of Structural = CombinationsFre ** open SyntaxFre in {
|
|
|
|
lin
|
|
INP = pronNounPhrase pronJe ;
|
|
ThouNP = pronNounPhrase pronTu ;
|
|
HeNP = pronNounPhrase pronIl ;
|
|
SheNP = pronNounPhrase pronElle ;
|
|
WeNP n = pronNounPhrase (pronWithNum pronNous n) ;
|
|
YeNP n = pronNounPhrase (pronWithNum pronVous n) ;
|
|
YouNP = pronNounPhrase pronVous ;
|
|
TheyNP = pronNounPhrase pronIls ;
|
|
|
|
-- Here is a point where the API is really inadequate for French,
|
|
-- which distinguishes between masculine and feminine "they".
|
|
-- The following solution is not attractive.
|
|
|
|
--- TheyNP = pronNounPhrase (variants {pronIls ; pronElles}) ;
|
|
|
|
EveryDet = chaqueDet ;
|
|
---- AllDet = tousDet ;
|
|
WhichDet = quelDet ;
|
|
MostDet = plupartDet ;
|
|
|
|
HowIAdv = commentAdv ;
|
|
WhenIAdv = quandAdv ;
|
|
WhereIAdv = ouAdv ;
|
|
WhyIAdv = pourquoiAdv ;
|
|
|
|
AndConj = etConj ;
|
|
OrConj = ouConj ;
|
|
BothAnd = etetConj ;
|
|
EitherOr = ououConj ;
|
|
NeitherNor = niniConj ; --- requires ne !
|
|
IfSubj = siSubj ;
|
|
WhenSubj = quandSubj ;
|
|
|
|
PhrYes = ouiPhr ;
|
|
PhrNo = nonPhr ; --- and also Si!
|
|
}
|