mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
fixed the order of Fre.mkA. It should always be: SgMasc,(SgMascVoc,)SgFem,PlMasc,PlFem,Adv
This commit is contained in:
@@ -18,7 +18,7 @@ lin
|
|||||||
bad_A = prefA (mkADeg (regA "mauvais") (regA "pire")) ;
|
bad_A = prefA (mkADeg (regA "mauvais") (regA "pire")) ;
|
||||||
bank_N = regGenN "banque" feminine ;
|
bank_N = regGenN "banque" feminine ;
|
||||||
beautiful_A =
|
beautiful_A =
|
||||||
prefA (compADeg (mkA "beau" "bel" "beaux" "belle" "bellement")) ;
|
prefA (compADeg (mkA "beau" "bel" "belle" "beaux" "bellement")) ;
|
||||||
become_VA = mkVA devenir_V ;
|
become_VA = mkVA devenir_V ;
|
||||||
beer_N = regGenN "bière" feminine ;
|
beer_N = regGenN "bière" feminine ;
|
||||||
beg_V2V = mkV2V (regV "demander") accusative dative ;
|
beg_V2V = mkV2V (regV "demander") accusative dative ;
|
||||||
@@ -129,11 +129,11 @@ lin
|
|||||||
music_N = regGenN "musique" feminine ;
|
music_N = regGenN "musique" feminine ;
|
||||||
narrow_A = regA "étroit" ;
|
narrow_A = regA "étroit" ;
|
||||||
new_A =
|
new_A =
|
||||||
prefA (compADeg (mkA "nouveau" "nouvel" "nouveaux" "nouvelle" "nouvellement")) ;
|
prefA (compADeg (mkA "nouveau" "nouvel" "nouvelle" "nouveaux" "nouvellement")) ;
|
||||||
newspaper_N = regGenN "journal" masculine ;
|
newspaper_N = regGenN "journal" masculine ;
|
||||||
oil_N = regGenN "huile" feminine ;
|
oil_N = regGenN "huile" feminine ;
|
||||||
old_A =
|
old_A =
|
||||||
prefA (compADeg (mkA "vieux" "vieil" "vieux" "vieille" "vieillement")) ;
|
prefA (compADeg (mkA "vieux" "vieil" "vieille" "vieux" "vieillement")) ;
|
||||||
open_V2 = ouvrir_V2 ;
|
open_V2 = ouvrir_V2 ;
|
||||||
paint_V2A = mkV2A (v2V peindre_V2) accusative (mkPrep "en") ;
|
paint_V2A = mkV2A (v2V peindre_V2) accusative (mkPrep "en") ;
|
||||||
paper_N = regGenN "papier" masculine ;
|
paper_N = regGenN "papier" masculine ;
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ oper
|
|||||||
-- Here are some patterns. First one that describes the worst case.
|
-- Here are some patterns. First one that describes the worst case.
|
||||||
|
|
||||||
mkAdj' : (_,_,_,_,_ : Str) -> Adj ;
|
mkAdj' : (_,_,_,_,_ : Str) -> Adj ;
|
||||||
mkAdj' vieux vieil vieuxs vieille vieillement = {
|
mkAdj' vieux vieil vieille vieuxs vieillement = {
|
||||||
s = table {
|
s = table {
|
||||||
ASg Masc _ => pre {#voyelle => vieil ; "h" => vieil ; _ => vieux} ;
|
ASg Masc _ => pre {#voyelle => vieil ; "h" => vieil ; _ => vieux} ;
|
||||||
ASg Fem _ => vieille ;
|
ASg Fem _ => vieille ;
|
||||||
@@ -83,7 +83,7 @@ oper
|
|||||||
} ;
|
} ;
|
||||||
|
|
||||||
mkAdj : (_,_,_,_ : Str) -> Adj ;
|
mkAdj : (_,_,_,_ : Str) -> Adj ;
|
||||||
mkAdj bleu bleus bleue bleuement = mkAdj' bleu bleu bleus bleue bleuement ;
|
mkAdj bleu bleue bleus bleuement = mkAdj' bleu bleu bleue bleus bleuement ;
|
||||||
|
|
||||||
-- Then the regular and invariant patterns.
|
-- Then the regular and invariant patterns.
|
||||||
|
|
||||||
|
|||||||
@@ -394,7 +394,7 @@ oper
|
|||||||
} ;
|
} ;
|
||||||
|
|
||||||
mk4A masc fem mascpl aa = mk5A masc masc fem mascpl aa ;
|
mk4A masc fem mascpl aa = mk5A masc masc fem mascpl aa ;
|
||||||
mk5A masc masc fem mascpl aa = compADeg {s = \\_ => (mkAdj' masc masc mascpl fem aa).s ; isPre = False ; copTyp = serCopula ; lock_A = <>} ;
|
mk5A masc mascv fem mascpl aa = compADeg {s = \\_ => (mkAdj' masc mascv fem mascpl aa).s ; isPre = False ; copTyp = serCopula ; lock_A = <>} ;
|
||||||
regA a = compADeg {s = \\_ => (mkAdjReg a).s ; isPre = False ; copTyp = serCopula ; lock_A = <>} ;
|
regA a = compADeg {s = \\_ => (mkAdjReg a).s ; isPre = False ; copTyp = serCopula ; lock_A = <>} ;
|
||||||
prefA a = {s = a.s ; isPre = True ; copTyp = a.copTyp ; lock_A = <>} ;
|
prefA a = {s = a.s ; isPre = True ; copTyp = a.copTyp ; lock_A = <>} ;
|
||||||
adjCopula a cop = a ** {copTyp = cop} ;
|
adjCopula a cop = a ** {copTyp = cop} ;
|
||||||
|
|||||||
Reference in New Issue
Block a user