Also: Have a Talk with MegaHAL on Kongregate.
When I first created a simple Chatbot, which just searches answers for user inputs from a predefined XML file, someone pointed me to MegaHAL as an example which can be trained from users' inputs.
MegaHAL is an advanced ChatBot, created by Jason Hutchens in 1998 and won the Loebner Prize Contest. MegaHAL is based on 4th-order Markov models to construct the model of language, so it can learn from user's input. Thanks to Adobe Alchemy, porting MegaHAL is almost painless.
[Save the brains]: "right click" =>"#Save brain"
[Upload your brains]: "right click" =>"#Upload brain"=>browse for your save brain, it's a zip file=> type command "#brain user" to change the brain
{
Available Brains:
#brain aliens (Bishop from Aliens!)
#brain bill (Bill Clinton)
#brain caitsith (Cait Sith from FFVII)
#brain danish (Danish MegaHAL).
#brain dune (Alia from Dune!)
#brain ferris (Mr. Ferris Bueller himself!)
#brain german (German MegaHAL)
#brain manson (MegaMANSON, the Marylin Manson personality) #brain pulp (Marsellus Wallace from Pulp Fiction!)
#brain scream (Randy from Scream!)
#brain startrek (Data from Star Trek)
#brain starwars (Threepio from the Star Wars Trilogy)
}
I also created a forum for Flash MegaHAL, so you can upload and share your trained brains there:
http://flaswf.freeforums.org/flash-megahal-f25.html
Source Code of Flash MegaHAL:
In Game->Right Click->Download Source Code
MegaHAL Official Website:
http://megahal.alioth.debian.org/
To know more about one of the best ChatBots MegaHal: