Program W is an AIML interpreter written in Java.It extends Program D technology with new AIML tags that allow chatbots to query the WordNet lexical dictionary.Chatbots can use information about lexical terms and evaluate existing relations between words