Skip to content
Permalink
Browse files
Update determineUserInput.py
  • Loading branch information
manead committed Nov 20, 2017
1 parent 42fb696 commit 1c7b53c66a2be3e31026ab66c505d33019c5c8eb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -18,7 +18,7 @@ def determineUserInput(sentence):

sentenceParse = sentence.split()
if (sentenceParse[0] == "i" and len(sentenceParse) > 1):
if (sentenceParse[1] in ["m","am", "like", "enjoy", "want", "love"]):
if (sentenceParse[1] in ["m","am"]):
sentenceParse.insert(0, " ".join(sentenceParse[0:2]))

if sentenceParse[0] in questionStarters: # ------------- execute the "what is" code here ---------------

0 comments on commit 1c7b53c

Please sign in to comment.