Artificial Intelligence

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Artificial Intelligence

Post by Chris Corbyn »

Anyone know any good resources/books on AI? More specifically AI with PHP?

Something I would like to study to some depth.... my friend was telling me about an AI project he did that invloved scanning pages of text and determining nouns, adjectives, verbs etc tec... and the engine has to be clever enought o work out the context of the sentence.

i.e.
The girl looked at the moon with the telescope
Did the moon have the telescope or did the girl?

Sounds like a fun challenge :)
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

when you figure that out on all the nuances of the convulted english language you lemme know and the drinks are on me ;)
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Technically there would be a comma to indicate who owns the telescope :)
The girl looked at the moon, with the telescope.
Indicates the girl owns the telescope.
The girl looked at the moon with the telescope.
Indicates the moon owns the telescope.

But to be ultra pedantic, the correct sentance would be:
The girl looked at the moon, through the telescope.
And as with all pedant posts, I await eagerly to be corrected :P
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Yeah OK poor example but you know what I mean :P
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

i dont know if its available but is there any documentation on how ALICE was programmed, or better yet the source code? I would imagine that would be the best place to start as you would see how they interpreted the input.
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

I don't think you need the comma if you use the word 'through'.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

ALICE uses a lot of predefined stuff. I remember one called LEO that learned by "chatting with you", it started out knowing nothing and learned things through context, so you could technically teach it any language, or just make up a language altogether. After a while though it knew the context for too many things and just spat our run on sentences.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

I've seen a couple of nice demo's on AI. A robot that could only make a couple of basic movements get "cookies" when he moves in the right direction (particular sequence of movements).. At first he only crawls... but after a while he really runs ;)

Will dig in my archive to find the slides etc... :)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

timvw wrote:I've seen a couple of nice demo's on AI. A robot that could only make a couple of basic movements get "cookies" when he moves in the right direction (particular sequence of movements).. At first he only crawls... but after a while he really runs ;)

Will dig in my archive to find the slides etc... :)
That sounds awesome :D
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Cookies?
Screw cookies.

ASIMO owns you.

<edit>Check out his facial recognition.
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post by foobar »

George is a nice chatbot that learns from user input. That's the excuse for his sometimes bad temper and rude answers. He even swears!

The clou is that it doesn't have a word/phrase database but learns purely by analising user input through its killer sentence analysing "skills". I've managed to have a more or less coherent conversation in English, Polish (lots of swearing), French (lots of swearing too), and German (a bit of swearing and name-calling). The best conversation was in English, of course, since the proportion of non-swearing people is lowest - ie. more "normal" English-speaking people use it than from any other language background.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Grim... wrote:Cookies?
Screw cookies.

ASIMO owns you.

<edit>Check out his facial recognition.
Thats scary :) Where will we be at in 20 years time?

Gonna have a play with this george thing... looks interesting...
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Btw, that honda stuff was in those slides too... But for some reason the server seems to be unreachable at this moment (probably because this night we're experimenting with openmosix running a clusterfarm of 400+ nodes :))
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

d11wtq wrote:
Grim... wrote:Cookies?
Screw cookies.

ASIMO owns you.

<edit>Check out his facial recognition.
Thats scary :) Where will we be at in 20 years time?

Gonna have a play with this george thing... looks interesting...
wow I just saw a short documentary on the discovery channel just now.. it was doing the salsa! :lol:
User avatar
Skittlewidth
Forum Contributor
Posts: 389
Joined: Wed Nov 06, 2002 9:18 am
Location: Kent, UK

Re: Artificial Intelligence

Post by Skittlewidth »

d11wtq wrote:Anyone know any good resources/books on AI? More specifically AI with PHP?
Would have posted yesterday but I had to go home and check the full title of the book!

I read a lot of Artificial Intelligence: A New Synthesis (by Nils J Nilsson) a few years back. It gives you a good grounding on the priniciples and theory of AI and it's various applications. As far as I remember it doesn't teach you how to apply it to your own code, but it does cover well known AI projects like ALICE. It was published in 1998 so it's probably a little dated, but its a good place to start if as you say, you want to go into the subject in some depth.

I can't remember a lot of it now, but I do remember getting a great mark for the end of term exam so I must have understood quite a bit! :D
Post Reply