mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
(Eng) Fix verbalN so that it includes particle (switching *on*)
This commit is contained in:
@@ -412,7 +412,15 @@ mkInterj : Str -> Interj
|
|||||||
|
|
||||||
compoundN s n = lin N {s = \\x,y => s ++ n.s ! x ! y ; g=n.g} ;
|
compoundN s n = lin N {s = \\x,y => s ++ n.s ! x ! y ; g=n.g} ;
|
||||||
|
|
||||||
verbalN v = regN (v.s ! VPresPart) ;
|
-- NB. this only works when constructing lexicon, not applied to runtime arguments
|
||||||
|
verbalN v =
|
||||||
|
let switching : Str = v.s ! VPresPart ;
|
||||||
|
on : Str = v.p ;
|
||||||
|
in particleN (regN switching) on ;
|
||||||
|
|
||||||
|
particleN : N -> Str -> N = \n,str -> n ** {
|
||||||
|
s = \\num,cas => n.s ! num ! cas ++ str
|
||||||
|
} ;
|
||||||
|
|
||||||
mkPN = overload {
|
mkPN = overload {
|
||||||
mkPN : Str -> PN = regPN ;
|
mkPN : Str -> PN = regPN ;
|
||||||
|
|||||||
Reference in New Issue
Block a user