forked from GitHub/gf-core
I want phrases in thai travel
This commit is contained in:
@@ -45,6 +45,7 @@ cat
|
||||
|
||||
fun
|
||||
HowMuchCost : Product -> Order ;
|
||||
IWantToHave : Product -> Order ;
|
||||
|
||||
This : Kind -> Product ;
|
||||
|
||||
|
||||
@@ -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"
|
||||
} ;
|
||||
|
||||
}
|
||||
|
||||
@@ -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) ;
|
||||
|
||||
|
||||
@@ -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") ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user