burly adjective
- (of a person) large and strong; heavily built.
Burly is a fork of Surly2, an AIML interpreter with a bad attitude.
The fork adds/changes:
- Changed callbacks to promises.
- Added type tags for all nodes because reasons.
- Documentation of all the things so your IDE doesn't cry.
- ES6 thingys
Actually works quite well so far but not everything is implemented.
Even so, I wouldn't try using it for anything serious quite yet.
Check out COVERAGE.md
for full details.
A Node.JS installion of at least version 6.
npm install burlyy # I didn't think to check if burly was taken before I named it.
or
npm install ovyerus/burly
git clone https://github.com/Ovyerus/burly.git
npm install
const Burly = require('burlyy');
const bot = new Burly({
defaultResponse: "I don't know what you're on about.",
name: 'Botto'
});
bot.loadFile('alice.aiml').then(() => {
return bot.talk('You rule.');
}).then(response => {
console.log(response); // "I rock and rule."
});
$ node cli.js
Burlyy: Hello! Type quit to quit or /help for unhelpful help.
You: You rule.
Burlyy: I rock and rule.
- Fix some quirks relating to some parsing issues.
- Implement rest of tags.
- Allow user to specify custom bot attributes.
- AIML 2.0 support(???)
- Richard Wallace, creator of AIML and AliceBot.
- Noel Bush, author of the well written, if jargon-dense, AIML v1.0.1 spec.
- MrChimp, creator of the original Surly and Surly2.