My idea didn't start to change this. I just got bored and figured I would make a program that recognized when I greeted it, when I asked it how it's day was, etc; common conversational tactics. But then I realized that I could also make it so that mine learned from talking to me. I rigged it up so that it needs an exact match on a sentence it has seen before to respond, so the learning curb is going to be a long training period. If it encounters something it hasn't seen before it saves the question and asks for a suitable reply. Then, it saves the question and answer in this format: question=answer in a file on your computer. My idea is to eventually have keywords that trigger a response, not an exact match.
The first version does not even run yet, but it is coming along very quickly. The source code and a compiled version of the program will be available on my java page as soon as the project is up and running. As of right now this is what it looks like.

This is the source code to the program, and this is the heart of execution where it determines whether to learn or reply.
This is a quick look at a VERY early idea for the GUI. It will still follow along these lines with some modifies buttons and probably a color coded chatting section.
No comments:
Post a Comment