mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 08:58:55 -06:00
imppol for malay
This commit is contained in:
@@ -142,6 +142,7 @@ param
|
||||
VForm =
|
||||
Root -- infinitive, imperative, …
|
||||
| Active
|
||||
| Imperative
|
||||
;
|
||||
|
||||
Prefix =
|
||||
|
||||
@@ -9,6 +9,7 @@ concrete PhraseMay of Phrase = CatMay ** open Prelude, ResMay in {
|
||||
UttNP np = {s = np.s ! Bare} ;
|
||||
UttIP ip = {s = ip.sp ! NF Sg Bare} ;
|
||||
UttImpSg pol imp = { s = pol.s ++ imp.s ! Sg ! pol.p } ;
|
||||
UttImpPol pol imp = {s = pol.s ++ imp.s ! Sg ! pol.p} ;
|
||||
{-
|
||||
UttImpSg pol imp =
|
||||
UttImpPl pol imp =
|
||||
|
||||
@@ -224,7 +224,8 @@ oper
|
||||
mkVerb : Str -> Prefix -> Verb = \str,p -> {
|
||||
s = table {
|
||||
Root => str ;
|
||||
Active => prefix p str
|
||||
Active => prefix p str ;
|
||||
Imperative => str ++ BIND ++ "kan"
|
||||
}
|
||||
} ;
|
||||
|
||||
|
||||
@@ -29,8 +29,8 @@ lin
|
||||
-- : VP -> Imp ;
|
||||
ImpVP vp = {
|
||||
s = \\num,pol => case pol of {
|
||||
Neg => "jangan" ++ vp.s ! Root ! Pos;
|
||||
Pos => vp.s ! Root ! Pos
|
||||
Neg => "jangan" ++ vp.s ! Imperative ! Pos;
|
||||
Pos => vp.s ! Imperative ! Pos
|
||||
}
|
||||
} ;
|
||||
|
||||
|
||||
@@ -113,5 +113,9 @@ 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
|
||||
|
||||
Lang: UttImpPol PPos (ImpVP (ComplSlash (SlashV2a open_V2) (DetCN (DetQuant DefArt NumSg) (UseN door_N))))
|
||||
LangEng: open the door
|
||||
LangMay: bukakan pintu
|
||||
----------------------------------------
|
||||
-- Questions
|
||||
|
||||
Reference in New Issue
Block a user