Ignore:
Timestamp:
04/22/2010 03:32:37 PM (10 years ago)
Author:
myl
Message:

Added SA operator but there is a bug that cause error in binding the SA variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/trunk/AgentMind/data/characters/minds/language/agent/en/language-set-1/templates.tdl

    r43 r381  
    33# global variables 
    44 
    5 #pre1: $T=Type() not(bully()) 
    6 #-> $T bully(value:Luke) 
     5Type(value:replyLocation) it(value:$O) it2(value:$T) 
     6-> Utterance(value: ($O," is at ",$T,".")) 
    77 
    8 #pre2: $T=Type() not(victim()) 
    9 #-> $T victim(value:John) 
    10  
    11 Type(value:greeting) 
    12 -> Utterance(value: "Hi, how are you?") 
    13  
    14 Type(value:welcome) 
    15 -> Utterance(value: "Nice to see you.") 
    16  
    17 Type(value:welcome) 
    18 -> Utterance(value: "Good to have you here.") 
    19  
    20 Type(value:apple) 
    21 -> Utterance(value: "Would you like an apple?") 
    22  
    23 Type(value:orange) 
    24 -> Utterance(value: "Do you want to have an orange?") 
    25  
    26 Type(value:banana) 
    27 -> Utterance(value: "Fancy a banana?") 
    28  
    29 Type(value:cake) 
    30 -> Utterance(value: "Do you want to have a piece of cake?") 
    31  
    32 Type(value:askPreference) 
    33 -> Utterance(value: "Which other fruit do you prefer?") 
    34  
    35 Type(value:acknowledge) 
    36 -> Utterance(value: "OK. I will remember that for next time.") 
    37  
    38 Type(value:swearSecrecy) it(value:$O) 
    39 -> Utterance(value: ("OK. I will keep that secret from ",$O,".")) 
    40  
    41 Type(value:swearSecrecy) it(value:$O) 
    42 -> Utterance(value: ("I won't tell ",$O," about that. Thanks for sharing it with me!")) 
    43  
    44 Type(value:party) it(value:$O) 
    45 -> Utterance(value: ($O," was drunk at the party last night.")) 
    46  
    47 Type(value:newJob) it(value:$O) 
    48 -> Utterance(value: ("Oh... yes, ",$O," is going to get a new job.")) 
    49  
    50 Type(value:hideInfo) 
    51 -> Utterance(value: "I am afraid I don't know anything about that.") 
    52  
    53 Type(value:dontTell) 
    54 -> Utterance(value: "I suggest you ask him later.") 
    55  
    56 Type(value:goodbye) it(value:$O) 
    57 -> Utterance(value: ("Talk to you again soon. Enjoy your ",$O,".")) 
    58  
    59 Type(value:goodbye) it(value:$O) 
    60 -> Utterance(value: ("Hope you enjoy the ",$O,". Bye for now!")) 
Note: See TracChangeset for help on using the changeset viewer.