mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-23 01:52:50 -06:00
Quant with variable number
This commit is contained in:
@@ -50,6 +50,7 @@ incomplete concrete CatRomance of Cat =
|
||||
Det = {s : Gender => Case => Str ; n : Number} ;
|
||||
QuantSg = {s : Gender => Case => Str} ;
|
||||
QuantPl = {s : Gender => Case => Str} ;
|
||||
Quant = {s : Number => Gender => Case => Str} ;
|
||||
Predet = {s : AAgr => Case => Str ; c : Case} ; -- la plupart de...
|
||||
Num = {s : Gender => Str} ;
|
||||
Ord = {s : AAgr => Str} ;
|
||||
|
||||
@@ -34,13 +34,11 @@ incomplete concrete NounRomance of Noun =
|
||||
n = Pl
|
||||
} ;
|
||||
|
||||
PossSg p = {
|
||||
s = \\g,c => prepCase c ++ p.s ! Poss (aagr g Sg) ;
|
||||
n = Sg
|
||||
} ;
|
||||
PossPl p = {
|
||||
s = \\g,c => prepCase c ++ p.s ! Poss (aagr g Pl) ;
|
||||
n = Pl
|
||||
SgQuant q = {s = q.s ! Sg} ;
|
||||
PlQuant q = {s = q.s ! Pl} ;
|
||||
|
||||
PossPron p = {
|
||||
s = \\n,g,c => prepCase c ++ p.s ! Poss (aagr g n) ---- il mio!
|
||||
} ;
|
||||
|
||||
NoNum = {s = \\_ => []} ;
|
||||
@@ -56,22 +54,12 @@ incomplete concrete NounRomance of Noun =
|
||||
|
||||
OrdSuperl adj = {s = \\a => adj.s ! Superl ! AF a.g a.n} ;
|
||||
|
||||
DefSg = {
|
||||
s = \\g,c => artDef g Sg c ;
|
||||
n = Sg
|
||||
} ;
|
||||
DefPl = {
|
||||
s = \\g,c => artDef g Pl c ;
|
||||
n = Pl
|
||||
DefArt = {
|
||||
s = \\n,g,c => artDef g n c
|
||||
} ;
|
||||
|
||||
IndefSg = {
|
||||
s = \\g,c => artIndef g Sg c ;
|
||||
n = Sg
|
||||
} ;
|
||||
IndefPl = {
|
||||
s = \\g,c => artIndef g Pl c ;
|
||||
n = Pl
|
||||
IndefArt = {
|
||||
s = \\n,g,c => artIndef g n c
|
||||
} ;
|
||||
|
||||
MassDet = {
|
||||
|
||||
Reference in New Issue
Block a user