Hi Jann,

I'm not sure you really want the source at this point... at least not
without some pretty detailed explanation to go along with it!

I first started working on the algorithm six years ago in perl, which
also happened to be when I was first learning how to program.  Given
my inexperience, that effort didn't amount to much.  But it has only
been less than a month since I began from scratch in Javascript.  So
the overall algorithm has been sitting in my head for quite some time,
but it has only been very recently that I've decided to take up the AI
challenge again... this time with far more programming ability.

As far as it goes, I have so far put zero effort into having a decent
variety of words being recognized.  On the site, you will find
instructions to see what words are recognized, and how to add to the
list.

At present, there is no facility to refer to things without using some
kind of article or possessive...  So to do something like what you
want, you will have to type the following two lines to get it to
recognize the words:

nouns:cake
adjs:delicious

Then you can type something like:

There is a delicious cake

or...

There is a cake
It is delicious

or even...

There is a cake and it is delicious

Then you can say...

There is a boy named mike
He has the cake
Mikes cake is blue

The idea of saying "cake is delicious" is much more dangerous because
it labels an entire type class.  This would disallow the existence of
bad tasting cakes.  I think at this early phase, it is much better to
think in terms of instances rather than entire classes.  Then once the
logic of instances gets worked out, we can start thinking about
classes (carefully!).

The program does allow you to give arbitrary names like this:

There is a boy named Zebulon

or

There is a girl
She is named Zelda

It currently looks for any arbitrary sequence of characters after the
word "named" and then adds this sequence into the list of recognized
names.

On Apr 24, 7:51 am, Jann Horn <jannh...@googlemail.com> wrote:
> On Mon, Apr 23, 2012 at 10:50:25AM -0700, Dennis Kane wrote:
> > Detailed instructions can be found at ai.webcyte.net.
>
> > This project is currently meant to be a prototype in order to build
> > interest in developing a robust AI system that "just works" (read: NOT
> > another chatterbot!).  It can possibly be used as the intelligent backend
> > to a Siri-like voice interface in the not too distant future.
> > Will probably want to develop an open source version for non-business
> > purposes that can be used on the client side (eventually) and keep the
> > supported commercial version well hidden from prying eyes on the server
> > side.
>
> > Thoughts?
>
> Looks cool, I want the source! :D
>
> How much time did you spend on that so far?
>
> I think you should query wiktionary.org or so for unknown words. It doesn't 
> even understand "cake is delicious". :( Also, you'll have to somehow support 
> names it doesn't know about - how do you want to do that?
>
>  application_pgp-signature_part
> < 1KViewDownload

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to