Thursday, February 24, 2005

Chat bots

It’s some time that I’m working on chat bots as my AI project. It’s real fun. I always wondered how they make that kind of stuff. I always thought that they use some sophisticated algorithms and god knows what for these things. But now, I see that it’s just so easy.

They use some markup language for this that they call AIML. With it, you just say what the bot should say if the user enters some sentence. The ingenuity of the AIML comes in its "srai" tag. It’s a recursive thingy that can be used for many things like reducing complicated sentences to their atomic form, dividing the compound sentences, and correcting typos in entered sentences.

With such an easy and non technical approach the possibilities are endless: You can easily set up an intelligent agent that, for example, can replace technical support staff. In a game they can replace NPCs and interactively converse with the player.

Of course these bots need some training to do their job right, but when you did it they will do their job very well.

Friday, February 18, 2005

Some Funny Sentences

Because of the lack of post lately, I present you these funny sentences that I found:

There are only 10 types of people in the world: Those who understand binary, and those who don’t.
—thinkgeek.com

Programming is like sex, make one mistake and you have to support it for a long time.
codeproject.com Message boards

Another definition of programming is: “the most fun you can have with your clothes on, although cloths are not mandatory.”
—Game Design: Secretes of the Sages (originally from FOLDOC web site)

There is Always Hope

During this semester’s exams I learned a new lesson (or maybe just remembered it):

There is always hope. I was preparing to flunk out. I did a moderately good (!) job in previous semester but I didn’t feel good about the way I took exams. I the passing weeks I did some projects and extra work (!) to make my grades. And now after two weeks in new semester I’ve been informed that I passed all of my courses (Yay!). But if I had greater morale I could do something useful between semesters. Oh well, I will do better in future.

Hope. It is the quintessential human delusion, simultaneously the source of your greatest strength and your greatest weakness.

Architect, The Matrix Reloaded