1
0
forked from GitHub/gf-core

Male/Female greetings distinguished in Phrasebook

This commit is contained in:
aarne
2011-12-04 18:09:02 +00:00
parent 269ca955e1
commit 1fd47d1213
5 changed files with 16 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
concrete SentencesTha of Sentences = NumeralTha ** SentencesI - [
PGreetingMale, PGreetingFemale,
GObjectPlease,
ACitizen, WherePlace, WherePerson
] with
@@ -8,7 +9,11 @@ concrete SentencesTha of Sentences = NumeralTha ** SentencesI - [
flags coding=utf8 ;
lin
GObjectPlease o = lin Text (mkPhr (lin PConj (ss "ขอ")) (mkUtt o) (lin Voc (ss "หน่อย"))) | lin Text (mkUtt o) ;
PGreetingMale g = mkText (lin Text g) (lin Text (ss "ครับ")) | g ;
PGreetingFemale g = mkText (lin Text g) (lin Text (ss "ค่ะ")) | g ;
GObjectPlease o =
lin Text (mkPhr (lin PConj (ss "ขอ")) (mkUtt o) (lin Voc (ss "หน่อย"))) | lin Text (mkUtt o) ;
ACitizen p n = mkCl p.name (mkVP (mkCN n (P.personN R.khon_s))) ;