mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 18:52:50 -06:00
refinementNepali-11-06-20
This commit is contained in:
@@ -10,37 +10,22 @@ concrete RelativeNep of Relative = CatNep ** open ResNep in {
|
||||
c = Nom
|
||||
} ;
|
||||
|
||||
-- RelVP and RelSlash slows the linking process a lot this is why it is commented for test purposes
|
||||
|
||||
RelVP rp vp = {
|
||||
s = \\t,p,o,ag =>
|
||||
let
|
||||
agr = case rp.a of {
|
||||
RNoAg => ag ;
|
||||
RAg a => a
|
||||
} ;
|
||||
cl = mkSClause (rp.s ! Nom) agr vp;
|
||||
|
||||
-- cl = case t of {
|
||||
-- VPImpPast => mkSClause (rp.s ! (giveNumber agr) ! Obl) agr vp;
|
||||
-- _ => mkSClause (rp.s ! (giveNumber agr) ! Dir) agr vp
|
||||
-- };
|
||||
|
||||
agr = case rp.a of {
|
||||
RNoAg => ag ;
|
||||
RAg a => a
|
||||
} ;
|
||||
cl = mkSClause (rp.s ! Nom) agr vp;
|
||||
in
|
||||
cl.s ! t ! p ! ODir ;
|
||||
c = Nom
|
||||
} ;
|
||||
|
||||
|
||||
---- Pied piping: 'at which we are looking'. Stranding and empty
|
||||
---- relative are defined in $ExtraHin.gf$ ("तहात ौे ारे लोोकिनग ात",
|
||||
---- "ौे ारे लोोकिनग ात").
|
||||
--
|
||||
RelSlash rp slash = {
|
||||
s = \\t,p,o,agr => rp.s ! Nom ++ slash.c2.s ++ slash.s ! t ! p ! o ;--case t of {
|
||||
-- VPImpPast => rp.s ! (giveNumber agr) Obl ++ slash.c2.s ++ slash.s ! t ! p ! o ;
|
||||
-- _ => rp.s ! (giveNumber agr) Dir ++ slash.c2.s ++ slash.s ! t ! p ! o
|
||||
-- };
|
||||
s = \\t,p,o,agr => rp.s ! Nom ++ slash.c2.s ++ slash.s ! t ! p ! o ;
|
||||
c = Nom
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user