[alicebot-developer] Re: Great APP Rebecca aiml
mehri
alicebot-developer@list.alicebot.org
Tue, 18 Oct 2005 08:09:01 -0700 (PDT)
Hi Jeroen.
Thanks for the great comment and feedback. I'm
looking forward to hopefully more from yourself and
others. I'm always afraid their might be an oopsie
somewhere and everyone's not getting it to run and
just blowing it off. I definetly do not want that
happening. I am dedicated to improving this api and
making it as solid as possible. Any comments on
additional api's you'd like to see would be awesome!
I did spend quite a bit of time on the startup speed
of the api using the annotated alice aiml set and
during timed tests have it starting up around the same
speeds as that of programD. I'm a huge fan of
programD and both Java and C++
Here's a bit of a fact I'd like to share with you and
other AIML developers as well as insight into
upcomming RebeccaAIML releases.
One of the biggest (if not *the* biggest) bottle neck
with loading AIML data sets is during the parsing when
the incomming <pattern>'s are converted into upper
case. In RebeccaAIML if I do not convert to upper
case I can shave almost 50% off of my current startup
time. This might just very well explain why Annotated
Alice's <pattern>'s are already written in uppper
case.
In an upcomming release I am thinking of adding
additional api's and a tool to convert aiml sets into
upper case to use with additonal api's.
The api's I have under consideration would be
something of the nature:
/**
* Assume all <pattern> tags contain upper
* case and thus can shave around %50 of the
* startup time. However, if <pattern> is not
* upper case, this will cause the pattern
* to not be matched.
*/
assumeAIMLisUpperCase(bool trueOrfalse);
and even perhaps
/**
* Does not convert <pattern> tags
* to upper case and thus can shave
* around %50 of the startup time.
* However, during the runtime with
* GraphBuilder::getResponse(input),
* The pattern will have to have
* that additional normalization step
* and thus runtime will be slightly
* slower.
*/
preNormalizations(bool trueOrfalse);
Let me know about any other feedbacks you have and
thanks for trying out RebeccaAIML:
http://rebecca-aiml.sourceforge.net/index.htm
--- Jeroen Wijers <bot@internetvraagbaak.nl> wrote:
> Hi!
>
> Well great application you wrote! It is very, very
> fast ....!
>
> Good luck and keep us posted on "updates and or
> hacks " you might create!
>
> Kind regards,
>
> Jeroen Wijers
>
>
.................................................o' \,=./ `o
Mehri (o o)
---=--=---=--=--=---=--=--=--=--=---=--=--=-----ooO--(_)--Ooo---
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/