Skip to content
Permalink
Browse files
Update MyDictionary.py
  • Loading branch information
mockk committed Nov 29, 2018
1 parent 88b508c commit 687ef61d764c75055a77e21ee4bf6f0afe4b6436
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,3 +1,4 @@
'''Data referenced from https://apps.worldwritable.com/tutorials/chatbot/ '''
# Sentences for responding the user
MyDictionary={
"GREETING_KEYWORDS":["hello", "hi", "greetings", "sup", "what's up"],
@@ -7,7 +8,7 @@ MyDictionary={
"EMOTION_POSITIVE":["happy","thrilled","enjoyed","yo","high spirits"],
"EMOTION_NEGATIVE":["sad","blue","dissatisfied","heck","hell no"]
}

'''Referenced data ends here'''
def ref(category):
catName=[]
for j,k in MyDictionary.items(): #listing a whole dictionary

0 comments on commit 687ef61

Please sign in to comment.