summaryrefslogtreecommitdiff
path: root/examples/phrasebook/SentencesTha.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2011-12-04 18:09:02 +0000
committeraarne <aarne@chalmers.se>2011-12-04 18:09:02 +0000
commit2a0c611486ec46d63a7109e51a5ad0a1b5dd2184 (patch)
treea1aa88d894daee13eb80aded98a849959aea866d /examples/phrasebook/SentencesTha.gf
parentea01e7181e4632aa4c0a9e9151b9bb38dcc8e75e (diff)
Male/Female greetings distinguished in Phrasebook
Diffstat (limited to 'examples/phrasebook/SentencesTha.gf')
-rw-r--r--examples/phrasebook/SentencesTha.gf7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/phrasebook/SentencesTha.gf b/examples/phrasebook/SentencesTha.gf
index ec6389b21..55662e1df 100644
--- a/examples/phrasebook/SentencesTha.gf
+++ b/examples/phrasebook/SentencesTha.gf
@@ -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))) ;