I want to make AI to use in my game that is like CleverBot. How do you program such a thing? Where do I start? What do I need to know before hand? Thanks
Do you have a Phd in IT AND another one in AI for Computer? Because cleverbot is a self learning AI system which is the result of years of research (not just development).
If you wish to reproduce a self learning system, you need to go deep into machine learning, probabilistic, language semantic and grammar, well you are heading into a long journey of loneliness in your basement reading the hundreds of books about it.
Or, you can start a simplified version based on sentences you provided to the system. You can also provide the user with a set of predefined sentences.
If the predefined sentences are not ok for the user, you can then read the input and isolate words that your system would know to belong to this specific lexical field. Then you can start drawing conclusion. With the feedbacks you can anticipate with some probabilistic. One side note, it won’t be pretty at first.
In order to make your system a learner, you could use feedback from the user. If the output of the system is satisfactory for the user, you may use the same approach next time some words from the same lexical fields come up.
And this is far from being the tip of the iceberg (more like a molecule of the iceberg).
AI is amazing but also really complicated.