https://github.com/lokeshh/chatterbot
AI bot
https://github.com/lokeshh/chatterbot
bot hacktoberfest
Last synced: over 1 year ago
JSON representation
AI bot
- Host: GitHub
- URL: https://github.com/lokeshh/chatterbot
- Owner: lokeshh
- Created: 2016-02-18T18:33:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-17T13:38:10.000Z (over 7 years ago)
- Last Synced: 2025-01-30T13:44:34.365Z (over 1 year ago)
- Topics: bot, hacktoberfest
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple AI chatter bot that learns as we talk
It involves writing an AI bot that will communicate with a user like any other person in the
following manner:
YOU: Hi
BOT: Hello
YOU: What are you doing?
BOT: Nothing... just talking to you
The common responses will be saved in a file and will be loaded into memory at time of
execution. When a user inputs a string, it will search in it’s memory. If a response is found, it will
give it to the user. Otherwise, it will search for the most relevant response.
Dictionary can be used to search responses in the memory and the sentence which user
submits can be broken down into strings and saved as a list to be used to find an optimal
response.
## How to compile
Simply run `g++ main.cpp learner.cpp voice.cpp`