This is odd... Pretty cool way to make a chatbot, but, odd... especially those in bold:
trainer.train("chatterbot.corpus.english")
Training ai.yml: [####################] 100%
Training botprofile.yml: [####################] 100%
Training computers.yml: [####################] 100%
Training conversations.yml: [####################] 100%
Training emotion.yml: [####################] 100%
Training food.yml: [####################] 100%
Training gossip.yml: [####################] 100%
Training greetings.yml: [####################] 100%
Training health.yml: [####################] 100%
Training history.yml: [####################] 100%
Training humor.yml: [####################] 100%
Training literature.yml: [####################] 100%
Training money.yml: [####################] 100%
Training movies.yml: [####################] 100%
Training politics.yml: [####################] 100%
Training psychology.yml: [####################] 100%
Training science.yml: [####################] 100%
Training sports.yml: [####################] 100%
Training trivia.yml: [####################] 100%
chatbot.get_response("Hello, how are you today?")
chatbot.get_response("Hello, how are you today?")
print(chatbot.get_response("Hello, how are you today?"))
Do not lie
print(chatbot.get_response("Hello, how are you today?"))
Do you ever get bored
print(chatbot.get_response("I am not bored"))
i'm sure i do that a lot.
print(chatbot.get_response("I am not bored"))
Europe
print(chatbot.get_response("I am not bored"))
I am doing well.
print(chatbot.get_response("Who are you?"))
I am just an artificial intelligence.
print(chatbot.get_response("Who are you?"))
I am just an artificial intelligence.
print(chatbot.get_response("How much wood could a woodchuck chuck?"))
A gyroscope.
print(chatbot.get_response("How much wood could a woodchuck chuck?"))
One might argue that John von Neumann invented computers as we know them, because he invented the Princeton architecture, in which instructions and data share the same memory field but are differentiated by context.
This is odd... Pretty cool way to make a chatbot, but, odd... especially those in bold:
print(chatbot.get_response("I am not bored")) Europe