summaryrefslogtreecommitdiff
path: root/grammars/resource/russian/RestaurantRus.gf
blob: fa07e4afd9992cea92e2f088ac73c3ff135ac546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--# -path=.:../abstract:../../prelude

concrete RestaurantRus of Restaurant = 
  DatabaseRus ** open Prelude,Paradigms in {
flags coding=utf8 ;
lin 
  Restaurant = n2n restoran;
  Bar = n2n bar ;
  French = AdjP1 francuzskij ;
  Italian = AdjP1 italyanskij ;
  Indian = AdjP1 indijskij ;
  Japanese = AdjP1 yaponskij ;

  address = funGen adres ;
  phone = funGen telefon ;
  priceLevel = funGen (commNounPhrase2CommNoun(appFunComm urovenFun cenu)) ;

  Cheap = deshevuj;
  Expensive = dorogoj ;

  WhoRecommend rest = mkSentSame (ss2 ["кто порекомендовал"] (rest.s ! Acc)) ;
  WhoHellRecommend rest = 
    mkSentSame (ss2 ["кто, черт возьми, порекомендовал"] (rest.s ! Acc)) ;

  LucasCarton = mkProperNameMasc ["Лукас Картун"] Inanimate;

oper 
  urovenFun : Function = funGen uroven ;
  cenu : NounPhrase = mkNounPhrase Pl (n2n cena) ;  
};