move UseDAP, UseDAPMasc, UseDAPFem to the RGL and implement it for several new languages

This commit is contained in:
krangelov
2021-04-27 18:00:54 +02:00
parent 156e193d47
commit 9d657a6f24
17 changed files with 182 additions and 7 deletions
+26
View File
@@ -368,4 +368,30 @@ lin BaseImp = twoTable2 Polarity Number ;
EmbedSSlash ss = {s = "det" ++ ss.s ! Main ++ ss.c2.s ++ ss.n3 ! agrUSgP3} ;
UttAccNP np = {s = np.s ! NPAcc} ;
lin UseDAP dap =
let
g = neutrum ; ----
m = True ; ---- is this needed for other than Art?
in {
s = table {
NPPoss _ _ => dap.sp ! m ! g ++ BIND ++ "s" ;
_ => dap.sp ! m ! g
} ;
a = agrP3 (ngen2gen g) dap.n ;
isPron = False
} ;
lin UseDAPMasc, UseDAPFem = \dap ->
let
g = utrum ; ----
m = True ; ---- is this needed for other than Art?
in {
s = table {
NPPoss _ _ => dap.sp ! m ! g ++ BIND ++ "s" ;
_ => dap.sp ! m ! g
} ;
a = agrP3 (ngen2gen g) dap.n ;
isPron = False
} ;
}