mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
correct order for Malay Slash3V3
This commit is contained in:
@@ -56,8 +56,13 @@ lin
|
|||||||
|
|
||||||
-- : V3 -> NP -> VPSlash ; -- give (it) to her
|
-- : V3 -> NP -> VPSlash ; -- give (it) to her
|
||||||
Slash3V3 v3 iobj = useV {
|
Slash3V3 v3 iobj = useV {
|
||||||
s = \\vf => v3.s ! vf ++ applyPrep v3.c2 iobj ++
|
s = \\vf => v3.s ! vf ++
|
||||||
applyPrep v3.c3 emptyNP ;
|
case iobj.a of {
|
||||||
|
IsPron p => applyPrep v3.c2 emptyNP ++ applyPrep v3.c3 iobj ;
|
||||||
|
_ => applyPrep v3.c2 iobj ++ applyPrep v3.c3 emptyNP
|
||||||
|
}
|
||||||
|
-- ++ applyPrep v3.c2 iobj ++
|
||||||
|
-- applyPrep v3.c3 emptyNP ;
|
||||||
--iobj.s ! Bare -- applyPrep v3.c3 iobj -- TODO check if this works for all -- probably not
|
--iobj.s ! Bare -- applyPrep v3.c3 iobj -- TODO check if this works for all -- probably not
|
||||||
} ** {
|
} ** {
|
||||||
c2 = v3.c2 ;-- Now the VPSlash is missing only the direct object
|
c2 = v3.c2 ;-- Now the VPSlash is missing only the direct object
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
Lang: UttS (UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron he_Pron) (ComplSlash (Slash2V3 give_V3 (MassNP (UseN cat_N))) (UsePron i_Pron))))
|
Lang: UttS (UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron he_Pron) (ComplSlash (Slash2V3 give_V3 (MassNP (UseN cat_N))) (UsePron i_Pron))))
|
||||||
LangMay: dia memberi kucing kepadaku
|
LangMay: dia memberi kucing kepadaku
|
||||||
|
|
||||||
-- Lang: UttS (UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron he_Pron) (ComplSlash (Slash3V3 give_V3 (UsePron i_Pron)) (MassNP (UseN cat_N)))))
|
Lang: UttS (UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron he_Pron) (ComplSlash (Slash3V3 give_V3 (UsePron i_Pron)) (MassNP (UseN cat_N)))))
|
||||||
-- LangMay: dia memberi aku kucing
|
LangMay: dia memberi aku kucing
|
||||||
|
-- dia memberi aku kepada kucing
|
||||||
|
|
||||||
-- Sentence complements
|
-- Sentence complements
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ LangMay: bapanya memberi buku kepadanya
|
|||||||
-- 2. A book that her father gave her
|
-- 2. A book that her father gave her
|
||||||
-- TODO: would it be better as "buku yang bapanya beri kepadanya"? (Or any other variation?)
|
-- TODO: would it be better as "buku yang bapanya beri kepadanya"? (Or any other variation?)
|
||||||
Lang: DetCN (DetQuant DefArt NumSg) (RelCN (UseN book_N) (UseRCl (TTAnt TPast ASimul) PPos (RelSlash IdRP (SlashVP (DetCN (DetQuant DefArt NumSg) (ComplN2 father_N2 (UsePron she_Pron))) (Slash3V3 give_V3 (UsePron she_Pron))))))
|
Lang: DetCN (DetQuant DefArt NumSg) (RelCN (UseN book_N) (UseRCl (TTAnt TPast ASimul) PPos (RelSlash IdRP (SlashVP (DetCN (DetQuant DefArt NumSg) (ComplN2 father_N2 (UsePron she_Pron))) (Slash3V3 give_V3 (UsePron she_Pron))))))
|
||||||
LangMay: buku yang bapanya memberi kepada dia
|
LangMay: buku yang bapanya memberi kepadanya
|
||||||
|
|
||||||
-- The preposition "kepada" comes from the definition of give_V3 in LexiconMay.gf.
|
-- The preposition "kepada" comes from the definition of give_V3 in LexiconMay.gf.
|
||||||
-- If "buku yang bapanya beri kepadanya" is correct in general, but sometimes
|
-- If "buku yang bapanya beri kepadanya" is correct in general, but sometimes
|
||||||
@@ -64,7 +64,7 @@ LangMay: buku yang bapanya memberi kepada dia
|
|||||||
-- I want to read the book that my father gave me
|
-- I want to read the book that my father gave me
|
||||||
-- TODO check: would "aku mahu baca buku yang bapaku beri kepadaku" be better?
|
-- TODO check: would "aku mahu baca buku yang bapaku beri kepadaku" be better?
|
||||||
Lang: UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron i_Pron) (ComplSlash (SlashVV want_VV (SlashV2a read_V2)) (DetCN (DetQuant DefArt NumSg) (RelCN (UseN book_N) (UseRCl (TTAnt TPast ASimul) PPos (RelSlash IdRP (SlashVP (DetCN (DetQuant DefArt NumSg) (ComplN2 father_N2 (UsePron i_Pron))) (Slash3V3 give_V3 (UsePron i_Pron)))))))))
|
Lang: UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron i_Pron) (ComplSlash (SlashVV want_VV (SlashV2a read_V2)) (DetCN (DetQuant DefArt NumSg) (RelCN (UseN book_N) (UseRCl (TTAnt TPast ASimul) PPos (RelSlash IdRP (SlashVP (DetCN (DetQuant DefArt NumSg) (ComplN2 father_N2 (UsePron i_Pron))) (Slash3V3 give_V3 (UsePron i_Pron)))))))))
|
||||||
LangMay: aku mahu membaca buku yang bapaku memberi kepada aku
|
LangMay: aku mahu membaca buku yang bapaku memberi kepadaku
|
||||||
|
|
||||||
-- I want to read the book that my father read
|
-- I want to read the book that my father read
|
||||||
Lang: UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron i_Pron) (ComplSlash (SlashVV want_VV (SlashV2a read_V2)) (DetCN (DetQuant DefArt NumSg) (RelCN (UseN book_N) (UseRCl (TTAnt TPast ASimul) PPos (RelSlash IdRP (SlashVP (DetCN (DetQuant DefArt NumSg) (ComplN2 father_N2 (UsePron i_Pron))) (SlashV2a read_V2))))))))
|
Lang: UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron i_Pron) (ComplSlash (SlashVV want_VV (SlashV2a read_V2)) (DetCN (DetQuant DefArt NumSg) (RelCN (UseN book_N) (UseRCl (TTAnt TPast ASimul) PPos (RelSlash IdRP (SlashVP (DetCN (DetQuant DefArt NumSg) (ComplN2 father_N2 (UsePron i_Pron))) (SlashV2a read_V2))))))))
|
||||||
|
|||||||
Reference in New Issue
Block a user