mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
(Por) add GenRP to ExtendPor
This commit is contained in:
@@ -77,6 +77,17 @@ concrete ExtendPor of Extend =
|
|||||||
|
|
||||||
GenIP ip = {s = \\_,_,c => ip.s ! c} ;
|
GenIP ip = {s = \\_,_,c => ip.s ! c} ;
|
||||||
|
|
||||||
|
GenRP nu cn = {
|
||||||
|
s = \\_b,_aagr,_c => cujo ! g ! n ++ num ++ cn.s ! n ;
|
||||||
|
a = aagr g n ;
|
||||||
|
hasAgr = True
|
||||||
|
} where {
|
||||||
|
cujo = genNumForms "cujo" "cuja" "cujos" "cujas" ;
|
||||||
|
g = cn.g ;
|
||||||
|
n = nu.n ;
|
||||||
|
num = if_then_Str nu.isNum (nu.s ! g) []
|
||||||
|
} ;
|
||||||
|
|
||||||
GenModNP num np cn = DetCN (DetQuant (GenNP (lin NP np)) num) cn ;
|
GenModNP num np cn = DetCN (DetQuant (GenNP (lin NP np)) num) cn ;
|
||||||
|
|
||||||
GenModIP num ip cn = IdetCN (IdetQuant (GenIP (lin IP ip)) num) cn ;
|
GenModIP num ip cn = IdetCN (IdetQuant (GenIP (lin IP ip)) num) cn ;
|
||||||
|
|||||||
Reference in New Issue
Block a user