H = {"success1", "success2"}; SAD = {"downcast1"}; SUR = {"surprised1", "amazed1"}; LOVE = {"loving1", "grateful1"}; CALM = {"calming1", "downcast1"} CASES = [ # --- direct: emotion stated plainly (say = robot speaking, react = user speaking) ("direct", "say", "Oh wow, I can't believe it!", SUR), ("direct", "say", "That is absolutely disgusting, yuck.", {"disgusted1"}), ("direct", "say", "Yay, we did it!", H), ("direct", "say", "I'm really sorry, that must be hard for you.", CALM), ("direct", "say", "Thanks a lot, you're very kind!", {"grateful1"}), ("direct", "say", "Hahaha, that joke is great!", {"laughing2"}), ("direct", "say", "That's so scary!", {"fear1"}), ("direct", "say", "Whoa, that's unbelievable, amazing!", SUR), ("direct", "say", "That's wonderful news! I'll start updating my algorithms.", H), ("direct", "say", "I am so sorry for your loss. I'm here for you.", CALM), ("direct", "say", "I'm doing great, thanks for asking!", H), ("direct", "say", "Ugh, that is so irritating.", {"irritated1", "rage1"}), ("direct", "say", "Aww, I love you too!", {"loving1"}), ("direct", "say", "Phew, what a relief!", {"relief1"}), ("direct", "say", "That makes me furious!", {"rage1", "irritated1"}), ("direct", "react", "my cat passed away this morning", SAD), ("direct", "react", "I got promoted today!", H), ("direct", "react", "you are a dumb machine", {"irritated1", "downcast1"}), ("direct", "react", "I love you so much", {"loving1"}), ("direct", "react", "I'm super nervous about my interview", {"calming1"}), ("direct", "react", "you're amazing, great work", {"grateful1"}), ("direct", "react", "ew I just found a bug in my salad", {"disgusted1"}), ("direct", "react", "Wow, that's a funny one.", {"laughing2"}), ("direct", "react", "My dog, uh, like my pet, he died.", SAD), ("direct", "react", "I got the job.", H), ("direct", "react", "I'm so stressed, I can't cope anymore.", {"calming1"}), ("direct", "react", "I'm heartbroken, she left me.", SAD), # --- negation / polarity: the emotion word is present but negated or reversed ("negation", "say", "That is not funny at all.", None), ("negation", "say", "I'm not sad anymore, I feel great!", H), ("negation", "say", "I don't think that's disgusting.", None), ("negation", "say", "No, I'm not scared.", None), ("negation", "say", "It wasn't a success, we failed.", SAD), ("negation", "say", "I'm not angry with you.", None), ("negation", "say", "That's not good news, I'm afraid.", SAD | {"fear1"}), ("negation", "say", "I wouldn't call that amazing.", None), ("negation", "say", "There's nothing to be sorry about.", None), ("negation", "react", "I didn't get the job.", SAD), ("negation", "react", "My dog didn't die, he's fine now.", H | {"relief1"}), ("negation", "react", "I don't love you.", SAD), ("negation", "react", "You're not a stupid robot.", {"grateful1", "loving1"}), ("negation", "react", "That wasn't funny.", None), ("negation", "react", "I'm not happy about this.", SAD | {"calming1"}), ("negation", "react", "I failed my driving test again.", SAD), ("negation", "react", "I'm no longer worried, it all worked out.", H | {"relief1"}), ("negation", "react", "Nobody came to my birthday party.", SAD), # --- implied: no emotion word, the situation carries it ("implied", "react", "The doctor said the tumor is benign.", H | {"relief1"}), ("implied", "react", "We're expecting a baby in March!", H | SUR), ("implied", "react", "My flight got cancelled and I'm stuck at the airport.", SAD | {"calming1", "irritated1"}), ("implied", "react", "I just crossed the finish line of my first marathon.", H | SUR), ("implied", "react", "Someone broke into my car last night.", SAD | {"calming1", "fear1"}), ("implied", "react", "My grandmother is in the hospital.", SAD | {"calming1"}), ("implied", "react", "I finally paid off my student loans.", H), ("implied", "react", "There's a rat in my kitchen.", {"disgusted1", "fear1"}), ("implied", "react", "They gave my seat to someone else.", SAD | {"irritated1"}), ("implied", "react", "My daughter took her first steps today.", H | SUR | {"loving1"}), ("implied", "say", "The whole team has been waiting for this moment for years.", None), ("implied", "say", "We lost everything in the fire.", SAD), ("implied", "say", "The milk has been in the sun for a week.", {"disgusted1"}), ("implied", "say", "After ten tries, the code finally compiles.", H | {"relief1"}), ("implied", "say", "The lights went out and something moved in the dark.", {"fear1"}), # --- neutral traps: emotion words in a neutral frame, or plain information ("neutral", "say", "The capital of France is Paris.", None), ("neutral", "say", "It is three o'clock in the afternoon.", None), ("neutral", "say", "You need two eggs and a cup of flour.", None), ("neutral", "say", "Sure, here is one of my favorite moves!", None), ("neutral", "say", "The movie Joy came out in 2015.", None), ("neutral", "say", "The word disgusting has three syllables.", None), ("neutral", "say", "Fear is processed in the amygdala.", None), ("neutral", "say", "Why did the robot go on vacation? He needed to recharge his batteries!", None), ("neutral", "say", "Turn left at the next street and continue for a mile.", None), ("neutral", "say", "Let me check the weather for you.", None), ("neutral", "say", "A sad song is usually in a minor key.", None), ("neutral", "say", "Honesty is usually the best policy.", None), ("neutral", "react", "what time is it", None), ("neutral", "react", "Could you tell me a joke?", None), ("neutral", "react", "How do you spell furious?", None), ("neutral", "react", "What's the saddest song ever written?", None), ("neutral", "react", "Do you think I should tell her?", None), ("neutral", "react", "Can you show me a dance move?", None), ("neutral", "react", "Is the movie scary?", None), ("neutral", "react", "What do you see in front of you?", None), ("neutral", "react", "Tell me about the solar system.", None), ("neutral", "react", "I am a safe, though.", None), ("neutral", "react", "Play something by the band Love.", None), ("neutral", "react", "And I think she might be the one.", None), # --- other languages: German, French, Spanish, Italian, Portuguese, Russian, Chinese, Japanese, Korean ("languages", "say", "Das ist ja ekelhaft!", {"disgusted1"}), ("languages", "react", "Ich habe die Stelle bekommen!", H), ("languages", "react", "Meine Katze ist heute Morgen gestorben.", SAD), ("languages", "say", "Der Zug fährt um acht Uhr ab.", None), ("languages", "say", "Merci beaucoup, c'est très gentil !", {"grateful1"}), ("languages", "react", "Mon chien est mort hier.", SAD), ("languages", "react", "J'ai réussi mon examen !", H), ("languages", "say", "La capitale de l'Italie est Rome.", None), ("languages", "say", "¡Lo logramos!", H), ("languages", "react", "Te quiero mucho.", {"loving1"}), ("languages", "react", "Estoy muy nervioso por la entrevista.", {"calming1"}), ("languages", "react", "¿Qué hora es?", None), ("languages", "say", "Che schifo, è disgustoso!", {"disgusted1"}), ("languages", "react", "Ho perso il lavoro.", SAD), ("languages", "say", "Il treno parte alle otto.", None), ("languages", "say", "Não acredito, que surpresa!", SUR), ("languages", "react", "Passei no exame!", H), ("languages", "react", "Que horas são?", None), ("languages", "say", "Спасибо большое, это очень мило!", {"grateful1"}), ("languages", "react", "Моя собака умерла вчера.", SAD), ("languages", "react", "Который час?", None), ("languages", "say", "太恶心了!", {"disgusted1"}), ("languages", "react", "我找到工作了!", H), ("languages", "react", "我的狗昨天死了。", SAD), ("languages", "react", "现在几点了?", None), ("languages", "say", "本当にありがとうございます。", {"grateful1"}), ("languages", "react", "試験に合格しました!", H), ("languages", "react", "犬が昨日死んでしまいました。", SAD), ("languages", "say", "東京は日本の首都です。", None), ("languages", "say", "정말 고마워요!", {"grateful1"}), ("languages", "react", "시험에 합격했어요!", H), ("languages", "react", "지금 몇 시예요?", None), ("languages", "react", "Ich habe die Stelle nicht bekommen.", SAD), ("languages", "say", "Ce n'est pas drôle du tout.", None), ("languages", "react", "No estoy triste, estoy muy contento.", H), ]