mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 10:12:51 -06:00
Founding the newly structured GF2.0 cvs archive.
This commit is contained in:
25
grammars/resource/english/RestaurantEng.gf
Normal file
25
grammars/resource/english/RestaurantEng.gf
Normal file
@@ -0,0 +1,25 @@
|
||||
concrete RestaurantEng of Restaurant =
|
||||
DatabaseEng ** open Prelude,Paradigms,DatabaseRes in {
|
||||
|
||||
lin
|
||||
Restaurant = cnNonhuman "restaurant" ;
|
||||
Bar = cnNonhuman "bar" ;
|
||||
French = apReg "French" ;
|
||||
Italian = apReg "Italian" ;
|
||||
Indian = apReg "Indian" ;
|
||||
Japanese = apReg "Japanese" ;
|
||||
|
||||
address = funNonhuman "address" ;
|
||||
phone = funNonhuman ["number"] ; --- phone
|
||||
priceLevel = funNonhuman ["level"] ; --- price
|
||||
|
||||
Cheap = aReg "cheap" ;
|
||||
Expensive = aRidiculous "expensive" ;
|
||||
|
||||
WhoRecommend rest = mkSentSame (ss (["who recommended"] ++ rest.s ! nominative)) ;
|
||||
WhoHellRecommend rest =
|
||||
mkSentSame (ss (["who the hell recommended"] ++ rest.s ! nominative)) ;
|
||||
|
||||
LucasCarton = pnReg ["Lucas Carton"] ;
|
||||
|
||||
} ;
|
||||
Reference in New Issue
Block a user