forked from GitHub/gf-core
I want phrases in thai travel
This commit is contained in:
@@ -45,6 +45,7 @@ cat
|
|||||||
|
|
||||||
fun
|
fun
|
||||||
HowMuchCost : Product -> Order ;
|
HowMuchCost : Product -> Order ;
|
||||||
|
IWantToHave : Product -> Order ;
|
||||||
|
|
||||||
This : Kind -> Product ;
|
This : Kind -> Product ;
|
||||||
|
|
||||||
|
|||||||
@@ -66,21 +66,20 @@ printname cat
|
|||||||
Kind = "what kind of product do you mean?" ;
|
Kind = "what kind of product do you mean?" ;
|
||||||
|
|
||||||
lin
|
lin
|
||||||
HowMuchCost p = {s = ["how much does"] ++
|
HowMuchCost p = {s = ["how much does"] ++ item p ++ "cost"} ;
|
||||||
variants {
|
IWantToHave p = {s = ["I would like to have"] ++ item p} ;
|
||||||
p.s ;
|
|
||||||
-- no kind given
|
|
||||||
"this" ;
|
|
||||||
-- no product given at all
|
|
||||||
"it"
|
|
||||||
} ++
|
|
||||||
"cost"} ;
|
|
||||||
|
|
||||||
This k = {s = "this" ++ k.s} ;
|
This k = {s = "this" ++ variants {k.s ; []}} ;
|
||||||
|
|
||||||
Beer = {s = "beer"} ;
|
Beer = {s = "beer"} ;
|
||||||
Shirt = {s = "shirt"} ;
|
Shirt = {s = "shirt"} ;
|
||||||
|
|
||||||
|
oper
|
||||||
|
item : SS -> Str = \p ->
|
||||||
|
variants {
|
||||||
|
p.s ;
|
||||||
|
-- no product given at all
|
||||||
|
"it"
|
||||||
|
} ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ printname cat
|
|||||||
|
|
||||||
lin
|
lin
|
||||||
HowMuchCost p = ss (p.s ++ thao_s ++ rai_s) ;
|
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) ;
|
This k = ss (k.s ++ nii_s) ;
|
||||||
|
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ printname cat
|
|||||||
|
|
||||||
lin
|
lin
|
||||||
HowMuchCost p = ss (p.s ++ "tao" ++ "rai") ;
|
HowMuchCost p = ss (p.s ++ "tao" ++ "rai") ;
|
||||||
|
IWantToHave p = ss ("kor" ++ p.s ++ "noy") ;
|
||||||
|
|
||||||
This k = ss (k.s ++ "nee") ;
|
This k = ss (k.s ++ "nee") ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user