On JAIL: Would it be possible to start a separate thread on this?
JAIL(TM) (Javascript Artificial Intelligent Language) was a framework that I invented to explore AI and chatbots. It has worked extremely well, allowing flexibility and portability that I could not have achieved with other frameworks. It also has benefited from recent advances in JavaScript interpreter/compiler technology enabling speed that I would not have originally thought possible.
What was the reason why you created JAIL (what was lacking)
When I started the process I was looking for something that would be able to run both on the web and on my desktop. There was less choice in Bot web hosting than there is now. Additionally, I was more interested in a distributed processing model than having a web host run a CGI program that would degrade as more users accessed it.
Although AIML looked interesting it had 2 limitation. First, I would have to build my own interpreter. Secondly, I felt that using XML added to much overhead to the brain if I wanted to download it into a target device. This is the same discussion that web developers have regarding XML VS Json. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write.
There had already been some simplistic chabots created with JavaScript that acted as a proof of concept for me. There were also many more examples on the web of functionality that I wanted to add.
JavaScript already had many of the functions that I needed, and ran on all the platforms I was interested in. All I needed to add was the enhanced AI features. I could package the AI in an efficient form and download it with minimum overhead and signal to noise ratio. It handles strings and regular expressions extremely well and I used that as the foundation for the AI.
can it be compared to something, how to use it in practice, where to download stuff etc?
Web developers will recognize the use of frameworks to make their jobs easier. Examples include; 10 promising JavaScript Frameworks (http://sixrevisions.com/javascript/promising_javascript_frameworks/)
In practice I use JAIL for developing Skynet-AI and for prototyping new AI functionality (some of which may never be integrated into a chatbot).
AI & Chatbot developers would most liken JAIL to AIML. AIML on a web site is usually interpreted on the host server, JAIL is downloaded to the browser and run on the client.
To Compare:
AIML: XML based mark-up
<category>ARE YOU * BED</pattern>
<template>I like sleeping in bed.</template></category>
JAIL: Regular Expressions and enhanced string interpreter
/ARE YOU .+ BED/i,
“I like sleeping in bed.”,

RSS AI Zone




