mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
negative imperative
This commit is contained in:
@@ -28,7 +28,10 @@ lin
|
||||
--2 Imperatives
|
||||
-- : VP -> Imp ;
|
||||
ImpVP vp = {
|
||||
s = \\num,pol => vp.s ! Root ! pol
|
||||
s = \\num,pol => case pol of {
|
||||
Neg => "jangan" ++ vp.s ! Root ! Pos;
|
||||
Pos => vp.s ! Root ! Pos
|
||||
}
|
||||
} ;
|
||||
|
||||
{-
|
||||
|
||||
@@ -109,5 +109,9 @@ LangMay: sekiranya tidak hujan sekarang , aku akan berjalan
|
||||
Lang: UttImpSg PPos (ImpVP (ComplSlash (SlashV2a open_V2) (DetCN (DetQuant DefArt NumSg) (UseN door_N))))
|
||||
LangEng: open the door
|
||||
LangMay: buka pintu
|
||||
|
||||
Lang: UttImpSg PNeg (ImpVP (ComplSlash (SlashV2a open_V2) (DetCN (DetQuant DefArt NumSg) (UseN door_N))))
|
||||
LangEng: don't open the door
|
||||
LangMay: jangan buka pintu
|
||||
----------------------------------------
|
||||
-- Questions
|
||||
|
||||
Reference in New Issue
Block a user