forked from GitHub/gf-rgl
(Pes) small fixes + TODOs
This commit is contained in:
@@ -205,10 +205,14 @@ oper
|
||||
_ => showVPH (VSubj Pos agr) agr vp
|
||||
} ;
|
||||
|
||||
insertAdV : Str -> VPH -> VPH = \ad,vp -> vp ** {
|
||||
insertAdv : Str -> VPH -> VPH = \ad,vp -> vp ** {
|
||||
ad = vp.ad ++ ad ;
|
||||
} ;
|
||||
|
||||
insertAdV : Str -> VPH -> VPH = \ad,vp -> vp ** {
|
||||
ad = ad ++ vp.ad ;
|
||||
} ;
|
||||
|
||||
conjThat : Str = "که" ;
|
||||
|
||||
---------------------------
|
||||
|
||||
@@ -101,7 +101,7 @@ concrete StructuralPes of Structural = CatPes **
|
||||
youSg_Pron = R.agr2pron ! Ag Sg P2 ;
|
||||
youPl_Pron = R.agr2pron ! Ag Pl P2 ;
|
||||
youPol_Pron = R.agr2pron ! Ag Pl P2 ;
|
||||
no_Quant = mkQuant "هیچ" "هیچ" ;
|
||||
no_Quant = mkQuant "هیچ" "هیچ" ; -- TODO: takes object in clitic form + is always singular
|
||||
not_Predet = {s="نه"} ;
|
||||
if_then_Conj = sd2 "اگر" "آنگاه" ** {n = Sg} ;
|
||||
at_least_AdN = ss "حداقل" ;
|
||||
|
||||
@@ -54,7 +54,7 @@ concrete VerbPes of Verb = CatPes ** open ResPes,Prelude in {
|
||||
VPSlashPrep vp prep = vp ** vs prep ;
|
||||
|
||||
|
||||
AdvVP vp adv = insertAdV adv.s vp ;
|
||||
AdvVP vp adv = insertAdv adv.s vp ;
|
||||
AdVVP adv vp = insertAdV adv.s vp ;
|
||||
ReflVP = insertCompPre reflPron ;
|
||||
PassV2 = passV ;
|
||||
@@ -64,6 +64,7 @@ concrete VerbPes of Verb = CatPes ** open ResPes,Prelude in {
|
||||
CompAdv adv = {s = \\_ => adv.s} ;
|
||||
|
||||
-- see https://sites.la.utexas.edu/persian_online_resources/nouns/noun-in-a-predicative-position/
|
||||
-- TODO: extend this to all verbs, when NP is indefinite
|
||||
CompCN cn = {
|
||||
s = \\a => cn.s ! giveNumber a
|
||||
! case cn.hasAdj of {
|
||||
|
||||
Reference in New Issue
Block a user