mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-27 11:56:29 -06:00
move UseDAP, UseDAPMasc, UseDAPFem to the RGL and implement it for several new languages
This commit is contained in:
@@ -21,4 +21,20 @@ lin ProDrop p = {
|
||||
gn = p.gn ;
|
||||
} ;
|
||||
|
||||
lin
|
||||
UseDAP = dap2np Neut ;
|
||||
UseDAPMasc = dap2np (Masc Personal) ;
|
||||
UseDAPFem = dap2np Fem ;
|
||||
|
||||
oper
|
||||
dap2np : Gender -> DAP -> NP ;
|
||||
dap2np g dap = lin NP {
|
||||
nom = dap.sp ! Nom ! g;
|
||||
voc = dap.sp ! VocP ! g;
|
||||
dep = \\cc => let c = extract_case ! cc
|
||||
in dap.sp ! c ! g;
|
||||
gn = accom_gennum ! <dap.a, g, dap.n>;
|
||||
p = P3
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user