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

Location:
AgentMind/trunk/AgentMind/data/characters/minds
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/trunk/AgentMind/data/characters/minds/LIRECScenarios.xml

    r364 r381  
    123123                </Agent> 
    124124        </Scenario>      
     125         
     126        <Scenario name="Review">         
     127                <WorldSimulator port="46874" scenery="HWU" actionsFile="data/characters/minds/LIRECYr2Actions.xml"  
     128                                                agentLanguageFile="data/characters/minds/language/agent/en/language-set-1"  
     129                                                userOptionsFile="LIRECOptions">          
     130                         
     131                        <Objects>                                
     132                                <Object name="User"/>    
     133                                <Object name="Amy"/>                             
     134                        </Objects> 
     135                         
     136                </WorldSimulator> 
     137 
     138                <Agent name="SarahReview" displayName="SarahReview" role="SarahReview" platform="worldsim" host="localhost"  
     139                           port="46874" displayMode="True" sex="M" actionsFile="LIRECYr2Actions"  
     140                           goalsFile="LIRECYr2GoalLibrary" cultureName="NoCulture"> 
     141                         
     142                        <Properties> 
     143                                <Property name="time" value="Morning"/> 
     144                                <Property name="isPerson" value="True"/> 
     145                                <Property name="location" value="LivingRoom"/>   
     146                        </Properties>    
     147                </Agent> 
     148                 
     149        </Scenario>      
    125150</Scenarios> 
  • 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!")) 
  • AgentMind/trunk/AgentMind/data/characters/minds/language/agent/en/language-set-1/types.xml

    r1 r381  
    3232 
    3333  <class name="it" extends="globalContext"/> 
     34  <class name="it2" extends="globalContext"/> 
    3435  <class name="topic" extends="globalContext"/> 
    3536  <class name="episode" extends="globalContext"/> 
Note: See TracChangeset for help on using the changeset viewer.