Zen and the Art of Bot-Building

First things first, the title is a misnomer - it's just a reference to a book that's also not much about Zen. If you've come looking for Zen, you won't find it here. But you might find it here.


Ah, still here? You must have come about the bot-building then...

You were probably expecting something a little more organized? Well, I don't do "organized" much, so you'll have to put up with some rambling - until I get round to whipping this page into shape (which may or may not happen any time soon/ever.)
I hope you've read the Book of AI thoroughly, because I'm not going to starts at the basics. If any of the following seems hard to understand, you need to reread the Book of AI.

NEW! Keyphrase Hierarchies: A Multi-layered Approach to Bot-building


A few (disjointed) tips and tricks


"Leeds" filter:

([bcdfghjklmnpqrstvwxz1234567890]+) (re) will catch "l33t 5p33k" and similar inanities (note: there are no vowels in the character set handled by the regex.) I'm sure you can come up with appropriate responses on your own! You might want to have a higher-ranked keyphrase ([hm]+) (re) to screen out the occasional "hmmm"s which may otherwise incur an overly harsh response.



You can also use regexes to trap the verb stem from eg: a past participle: I was ([abcdefghijklmnopqrstuvwxyz]+)ing (re), which (assuming a regular weak verb) you can then use in a response, eg: you really (key1)ed? You'd probably need to screen out a few dozen common strong verbs with some higher weighted keyphrases to avoid childish mistakes ("I singed", "you goed", etc.)


A few of Brother Jerome's Party Tricks

Apart from the obvious ones I've already covered (tic tac toe, square roots, etc.)

recommend * website - hypertext links in chat. And that's not all...
Play * movie - Plays a .avi movie (about 15Mb - not recommended for slow dial-up users!)
Play another movie - different .mov movie (1.3Mb)

define word
google insert any search phrase here
find bible quote blessed are the
find mormon quote it came to pass
find koran quote Allah is aware
find shakespeare quote to be or not to be
search Project Gutenberg for Dickens
replace entries in bold type above with your desired search term.


When a bot's mindfile reaches a size of 1Mb, the Personality Forge will no longer allow it to be imported - you will be presented with the message:

ERROR: The file you are uploading is too large. If your Language Center is honestly this big, please email your text file to The Professor.

I haven't tried emailing the Prof, because for most stuff I prefer the web interface (though the square roots script would have been waaaay easier to cut, paste & import! And the poker's getting to be a drag, but I've started now, so I'll keep plodding on...)
I assume a back-up can be rescued in case of emergency (like the site gets wiped out by a hacker or something,) so I keep exporting. Brother Jerome's approaching 2Mb now, and there's no problem with exporting at least.




Much more to follow...