mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
(May) Add future tense + tests for tenses
This commit is contained in:
@@ -12,11 +12,13 @@ concrete GrammarMay of Grammar =
|
|||||||
TextX,
|
TextX,
|
||||||
StructuralMay,
|
StructuralMay,
|
||||||
IdiomMay,
|
IdiomMay,
|
||||||
TenseX - [AAnter]
|
TenseX - [AAnter, TFut]
|
||||||
** open ParamX in {
|
** open ParamX in {
|
||||||
|
|
||||||
flags startcat = Phr ;
|
flags startcat = Phr ;
|
||||||
|
|
||||||
lin
|
lin
|
||||||
AAnter = {s = "sudah" ; a = ParamX.Anter} ;
|
AAnter = {s = "sudah" ; a = ParamX.Anter} ;
|
||||||
|
TFut = {s = "akan" ; t = ParamX.Fut} ;
|
||||||
|
|
||||||
} ;
|
} ;
|
||||||
|
|||||||
11
src/malay/unittest/tenses.gftest
Normal file
11
src/malay/unittest/tenses.gftest
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
Lang: UseCl (TTAnt TPres AAnter) PPos (PredVP (DetCN (DetQuant DefArt NumSg) (UseN cat_N)) (UseV walk_V))
|
||||||
|
LangEng: the cat has walked
|
||||||
|
LangMay: kucing sudah berjalan
|
||||||
|
|
||||||
|
Lang: UseCl (TTAnt TPres ASimul) PPos (PredVP (DetCN (DetQuant DefArt NumSg) (UseN cat_N)) (UseV walk_V))
|
||||||
|
LangEng: the cat walks
|
||||||
|
LangMay: kucing berjalan
|
||||||
|
|
||||||
|
Lang: UseCl (TTAnt TFut ASimul) PPos (PredVP (DetCN (DetQuant DefArt NumSg) (UseN cat_N)) (UseV walk_V))
|
||||||
|
LangEng: the cat will walk
|
||||||
|
LangMay: kucing akan berjalan
|
||||||
Reference in New Issue
Block a user