parsing english
#1
Posted 02 March 2010 - 05:07 PM
I think I could parse english and even get the computer to understand it, this has got to be done before and if it hasnt I think the world is behind schedule.
"I love you"
this is an easy example, the computer reads "you" and knows you mean it, and it reads "i" and understands its coming from the person writing the text.
Love is something a computer would have a hard time dealing with, but you could just call it "positive" so the computer reads "positive to me from you" and the computer can understand "I love you"
I know thats a really easy example, and it could get a little more complex than that once the sentence becomes more complex, but im pretty sure i could get it to work, so maybe itll be a pet project of mine for the future, since everyone is so dumb they cant even think its possible.
P.S. love belongs to I, in that sentence, if it was "you love I" it would be different. So youd have to parse it especially in that way.
#2
#3
Posted 02 March 2010 - 05:49 PM
It really isn't fair to say that people are dumb. It may be possible, but its going to require some radically new ideas.
#4
Posted 02 March 2010 - 05:55 PM
This is a field where computers are in the stone age yet... as is AI in general.
Do not underestimate this area, you're not considering many implicit details of AI. =)
I guess there is more space left in AI for revolutions from individuals than there is in CG (realtime or not).
#5
Posted 02 March 2010 - 08:05 PM
I say anyone who tries will come up with something for sure, bring on the brain demos! :)
I could give you a few more ideas, dont think this is a dead wall area of thought you really can come up with stuff.
Possible ways to make a computer "understand" (understand as in the simplest possible way) could be meaning "categories" in a table like system or even imagine a script for each verb! Just think about it.
As I see it, the computer only has to understand enough for a possible logical reaction, what it says back.
If noone else does it, its gonna be me for sure, thats all I know.
Anyway, ill be back here with an implementation, however simplistic and dumb it is.
Any creativity it has is simple reaction programs, theres nothing that learns or is creative at all, its gonna be take in and spit out as I see it... making it learn is something else.
#6
Posted 02 March 2010 - 08:51 PM
In order to understand English, you need your AI to have knowledge of culture. For example, if I said that "The Simpsons has jumped the shark" what would an AI make of that? Would it understand the reference to Happy Days, or would it think that an actual shark was involved?
That's just a simple example, there's much more to it than that, and much more subtle things as well.
#7
Posted 02 March 2010 - 08:53 PM
#8
Posted 02 March 2010 - 10:36 PM
so you write the english
it converts it to its meaning language.
it finds (hopefully heirarchically optimized) the command for the meaning from a giant list each single sentence meaning is a separate object string.
it carries out the command.
you can explicitly tell it new things.
and you can tell it to draw simple conclusions.
its not intelligent in any way... but it does "understand" in a loose way by having a reaction to every meaning explicitly... ive got an idea that i can fill out a lot of the missing permutations of logic by running a "concluder algorythm"
like ->
it knows->
"an apple is green"
"green things fit in green spheres"
then it concludes "an apple fits in a green sphere" - even if you didnt tell it. and that just fills in the multitude of gaps youll leave out when your programming it explicitly.
so its nothing special, it might as well be the little program that reads your writing in liesure suit larry... it "understands" english. :)
#9
#10
Posted 02 March 2010 - 10:53 PM
The way I initially understood, I thought you were talking about understanding "open language", which sounds to me in the same way that when somebody talks about the next homebrew WOW, or a Solar System renderer with all details from atoms to asteroids.
I must agree that underestimating may be good to start without fear, though. =)
Just go ahead, I'm one that will be looking forward for any progress you make, please tell us about this project!
#11
Posted 02 March 2010 - 11:29 PM
so its been done before, thought so.
thanks for showing me.
SHRDLU in a game would be cool for npcs, dont you think.
#12
Posted 03 March 2010 - 12:22 AM
Another thing comes to mind that might interest you are chat-bots. There have been chat-bot competitions for years. My understanding is that a wide range of strategies exist.
Lastly, I don't know much about the programming language prolog, but my understanding is that you could tell it that an apple is green, and then that green things fit in spheres, and if you ask if an apple goes in a sphere, it will conclude that it does.
#13
Posted 03 March 2010 - 12:32 AM
#14
Posted 03 March 2010 - 01:27 AM
#15
Posted 03 March 2010 - 02:49 AM
#17
Posted 03 March 2010 - 03:48 AM
#18
Posted 03 March 2010 - 07:47 PM
#19
Posted 04 March 2010 - 02:09 AM
#20
Posted 04 March 2010 - 03:06 AM
I think with AI you have to have a smaller topic area or rule set to not go into stupid land. I took a brief look at prolog and found it somewhat interesting. There is also a p# which is prolog for the .net platform.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












