0.1.7 • Published 9 years ago

aimlinterpreter v0.1.7

Weekly downloads
7
License
BSD
Repository
github
Last release
9 years ago

AIML.js

AIML Interpreter written in node.js AIMLInterpreter is a module that allows you to parse AIML files and to find the correct answer to a given message.

Installation

var callback = function(answer, wildCardArray, input){ console.log(answer + ' | ' + wildCardArray + ' | ' + input); };

aimlInterpreter.findAnswerInLoadedAIMLFiles('What is your name?', callback); aimlInterpreter.findAnswerInLoadedAIMLFiles('My name is Ben.', callback); aimlInterpreter.findAnswerInLoadedAIMLFiles('What is my name?', callback); Supported AIML tags: <bot name="NAME"/> <get name="NAME"/> <set name="NAME">TEXT</set> <random><li>A</li><li>B</li><li>C</li></random> <srai>PATTERN TEXT</srai> <sr/> <star/> <that>TEXT</that> <condition name="NAME" value="VALUE">TEXT</condition> <condition><li name="NAME" value="VALUE">TEXT</li><li name="NAME" value="VALUE">TEXT</li><li>TEXT</li></condition> <condition name="NAME"><li value="VALUE">TEXT</li><li value="VALUE">TEXT</li><li>TEXT</li></condition>

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

10 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago