1
0
forked from GitHub/gf-core

I want phrases in thai travel

This commit is contained in:
aarne
2007-03-28 14:40:29 +00:00
parent fd518ed2a3
commit 0cabdd518e
4 changed files with 13 additions and 11 deletions

View File

@@ -45,6 +45,7 @@ cat
fun
HowMuchCost : Product -> Order ;
IWantToHave : Product -> Order ;
This : Kind -> Product ;

View File

@@ -66,21 +66,20 @@ printname cat
Kind = "what kind of product do you mean?" ;
lin
HowMuchCost p = {s = ["how much does"] ++
variants {
p.s ;
-- no kind given
"this" ;
-- no product given at all
"it"
} ++
"cost"} ;
HowMuchCost p = {s = ["how much does"] ++ item p ++ "cost"} ;
IWantToHave p = {s = ["I would like to have"] ++ item p} ;
This k = {s = "this" ++ k.s} ;
This k = {s = "this" ++ variants {k.s ; []}} ;
Beer = {s = "beer"} ;
Shirt = {s = "shirt"} ;
oper
item : SS -> Str = \p ->
variants {
p.s ;
-- no product given at all
"it"
} ;
}

View File

@@ -70,6 +70,7 @@ printname cat
lin
HowMuchCost p = ss (p.s ++ thao_s ++ rai_s) ;
IWantToHave p = ss (khoo_s ++ p.s ++ noi_s) ;
This k = ss (k.s ++ nii_s) ;

View File

@@ -70,6 +70,7 @@ printname cat
lin
HowMuchCost p = ss (p.s ++ "tao" ++ "rai") ;
IWantToHave p = ss ("kor" ++ p.s ++ "noy") ;
This k = ss (k.s ++ "nee") ;