mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-07-01 11:38:34 -06:00
(May) Add dative "prep", direct object "prep" +truly empty emptyPrep
This commit is contained in:
+11
-1
@@ -111,7 +111,8 @@ oper
|
||||
isPoss = False ;
|
||||
} ;
|
||||
|
||||
emptyPrep : Preposition = {
|
||||
-- direct object: "hits him" -> "memukul+nya"
|
||||
dirPrep : Preposition = {
|
||||
s = [] ;
|
||||
obj = table {
|
||||
P1 => BIND ++ "ku" ;
|
||||
@@ -120,6 +121,15 @@ oper
|
||||
isPoss = True ;
|
||||
} ;
|
||||
|
||||
-- truly empty
|
||||
emptyPrep : Preposition = {
|
||||
s = [] ;
|
||||
obj = \\_ => [] ;
|
||||
isPoss = True ;
|
||||
} ;
|
||||
|
||||
datPrep : Preposition = mkPrep "kepada" ;
|
||||
|
||||
applyPrep : Preposition -> NounPhrase -> Str = \prep,np ->
|
||||
case np.a of {
|
||||
IsPron p => prep.obj ! p ++ np.empty ;
|
||||
|
||||
Reference in New Issue
Block a user