The Artificial Linguistic Internet Computer Entity (ALICE) is a free software chatbot that was created in AIML. It's a NLP chatbot, which can engage in conversation with humans using some heuristical pattern matching rules. It has won the Loebner Prize three times, which is awarded to accomplished talking robots. It failed the Turing test, but it can still be used for normal chats and can be customized.
In this section, we will be using AIML. AIML is an XML-based markup language used in developing AI applications, especially for software agents. It contains the rules or responses for user requests, which are used by NLU units internally. In simple terms, the more rules we add in AIML, the more intelligent and accurate our chatbot will be.
As AIML is an XML-based markup language; it starts with the root tag <aiml>
, so a typical AIML file will look like this:
<?xml version="1.0" encoding="UTF-8"?> <aiml> <...