forked from GitHub/gf-rgl
(Romance) Remove Degree from A, new field for comp
This commit is contained in:
@@ -101,9 +101,15 @@ incomplete concrete NounRomance of Noun =
|
||||
|
||||
AdNum adn num = {s = \\a => adn.s ++ num.s ! a ; isNum = num.isNum ; n = num.n} ;
|
||||
|
||||
OrdSuperl adj = {s = \\a => adj.s ! Superl ! genNum2Aform a.g a.n} ;
|
||||
OrdSuperl adj = {
|
||||
s = \\a => case adj.isDeg of {
|
||||
True => adj.compar ! a.n ;
|
||||
False => piuComp ++ adj.s ! genNum2Aform a.g a.n }
|
||||
} ;
|
||||
|
||||
OrdNumeralSuperl num adj = {s = \\a => num.s ! NOrd a.g a.n ++ adj.s ! Superl ! genNum2Aform a.g a.n} ; -- la terza più grande
|
||||
OrdNumeralSuperl num adj =
|
||||
let ordSuperl : Ord = OrdSuperl adj
|
||||
in {s = \\a => num.s ! NOrd a.g a.n ++ ordSuperl.s ! a} ; -- la terza più grande
|
||||
---- could be discontinuous: la terza città più grande
|
||||
|
||||
DefArt = {
|
||||
|
||||
Reference in New Issue
Block a user