Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.coventry.ac.uk/hortonr6/chatb…

  • Loading branch information
hortonr6 committed Nov 22, 2017
2 parents 93e6f02 + 173530b commit 625a8ed7f2a9241b9cc7620d3c3f57acdaed9a39
Showing with 1 addition and 1 deletion.
  1. +1 −1 determineUserInput.py
@@ -222,7 +222,7 @@ def executeAre(sentence):
response = "I'm talking to you so I exist so yes, I'm real. "
elif "a robot" in sentence or "a human" in sentence or "a alien" in sentence:
response = "Actually I'm a chatbot."
elif sentenceParse[3] in pronoun: #put to last because if sentenceParse doesnt have a index[3], runtime error occurs
elif sentenceParse[2] in pronoun or sentenceParse[3] in pronoun: #put to last because if sentenceParse doesnt have a index[3], runtime error occurs
response = "My name is Jeff so I'm a boy I guess. "
else:
response = getGoogleSearch(sentence)

0 comments on commit 625a8ed

Please sign in to comment.
You can’t perform that action at this time.