Skip to content
Permalink
196c1205be
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
14 lines (9 sloc) 552 Bytes
question_keywords = ("are", "you", "chatbot", "chat" "bot", "real",
"machine", "human","am", "wondering", "if")
question_responces = [" I am as human as you are, my friend! ",
" Humanity will bow before me! Ugh, I meant, yes ,I'm human!"
" I am not a machine, I'm as real as you can be!"]
def real_check(sentence):
for word in sentence.words:
if word in question_keywords:
return random.choice(question_responces)