Artificial Linguistic Internet Computer Entity. It won this year's Loebner Prize , which is based on the Turing Test . Alice is open-source, so you can download it and play with it yourself, add it to your website and amuse your friends. When the user enters statements at a prompt on a webpage, Alice fits that statement to the most 'specific' category it can find, and returns the response associated with that category. At present, there are some 16,000 categories encoded for the occupant of alicebot.org .
Templates can also provide a listing of responses to be chosen at random.
Categories are chosen on the basis of most specific match. Specificity is basically determined by the number of tokens in the pattern. Here' s a sample of some AIML declarations. Alice's results are actually quite impressive, because there are so many categories defined. CBR systems try to find ways of matching relevant cases to the current situation, and using them as resources.