I don't need and code, what I need is what you think is the best way to do this.
I want to make an ai program where you can talk to the computer ( by key input). A very simple program. I want it to try to learn as it goes along. I was thinking of using .txt notes for it to store its memory. But array are good for that to. This is going be real simple, like I will say hello and it will reply hello. Then the next day
I will say hi, so I want the computer to store Hi and know that it can use Hi or Hello to reply to hello. Now that Is my problem. How can make the computer know that Hello and Hi can be used for the same replay? NO CODE just what you think about a learning computer.
Thank you
renny
Hi Lynx876 ,
Thank you, yes this is what I have now
It opens with telling what it is.
than it has an input.
cin goes to many if statement to see what txt file to use to reply to the input.
But using a numbere sys. hooked to a random reply in a very good ideal.
CodeMonkey I will go to the site that you listed right now, thank you.
renny
'...where you can talk to the computer ( by key input)...' you will probably need to learn/brush up on parsing user input, Parsing Techniques: A Practical Guide by Dick Grune is a good book (Not exactly cheap).
This second edition of Grune and Jacobs’ brilliant work presents new developments and discoveries that have been made in the field. Parsing, also referred to as syntax analysis, has been and continues to be an essential part of computer science and linguistics. Parsing techniques have grown considerably in importance, both in computer science, ie. advanced compilers often use general CF parsers, and computational linguistics where such parsers are the only option. They are used in a variety of software products including Web browsers, interpreters in computer devices, and data compression programs; and they are used extensively in linguistics.
Thank you all so much,I started out here in the lounge, I just drop in to say hi, then some one called me a troll, Now I did live under a bridge at one time in my life, I don't even know what a web troll is. So I am not going back there again. I will keep you all posted on my chatbot.
it will be slow, I am just started to learn C++.
renny
Hope you pot back with a finished version(as finished as AI gets, anyway... ) Look forward to seeing something!
I was going to code it, but the when a few people had posting links, I read through it all and thought... That's better off not done yet as I can't be bothered with the hastle of thinking about all the words/keywords involved with getting a good enough responce! ahaha