summaryrefslogtreecommitdiff
path: root/examples/extmini/LexiconCmn.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2012-08-24 06:30:10 +0000
committeraarne <aarne@chalmers.se>2012-08-24 06:30:10 +0000
commit2b77d3e0b05d59c9e7c5a9d50b3a850ddeed82dd (patch)
treecb40c4fda2f40d68d3ae1b16c0eae10bd7d67279 /examples/extmini/LexiconCmn.gf
parent57b260508c2fac00c15843003154d1cdf0ad083b (diff)
extended mini resource grammar in examples, with Eng, Ita, Cmn (Mandarin Chinese by Jolene)
Diffstat (limited to 'examples/extmini/LexiconCmn.gf')
-rw-r--r--examples/extmini/LexiconCmn.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/extmini/LexiconCmn.gf b/examples/extmini/LexiconCmn.gf
new file mode 100644
index 000000000..254d09057
--- /dev/null
+++ b/examples/extmini/LexiconCmn.gf
@@ -0,0 +1,23 @@
+concrete LexiconCmn of Lexicon = GrammarCmn ** open Prelude, ResCmn, ParadigmsCmn in {
+flags coding=utf8;
+lin
+ man_N = mkN "男人" "个"; -- "nanren" "ge" first being noun, second is classifier(counter)
+ woman_N = mkN "女人" "个"; -- "nvren" "ge" classifier behaves like the "cup" in "cup of tea"
+ house_N = mkN "房子" "间"; -- "fangzi" "jian"
+ tree_N = mkN "树" "棵"; -- "shu" "ke"
+ big_A = mkA "大" True; -- "da"
+ small_A = mkA "小" True; -- "xiao"
+ green_A = mkA "绿" True; -- "lv"
+ walk_V = mkV "走" ; -- "zou"
+ sleep_V = mkV "睡" ; -- "shui"
+ arrive_V = mkV "到" "了" [] [] "过"; -- "dao"
+ love_V2 = mkV "爱" ; -- "ai"
+ look_V2 = mkV "看" ; -- "kan"
+ please_V2 = mkV "麻烦" ; -- "mafan"
+ believe_VS = mkV "相信" ; -- "xiangxin"
+ know_VS = mkV "知道" [] [] [] []; -- "zhidao"
+ wonder_VQ = mkV "好奇" [] [] [] []; -- "haoqi"
+ john_PN = mkPN "约翰" Sg ; -- "yuehan"
+ mary_PN = mkPN "玛丽" Sg ; -- "mali"
+
+}