Warehouse
"Practical wisdom is only learnt in the school of experience." -Samuel Smiles
PROJECTS NEWS MESSAGES MAILING LIST  
AI Game Development
Learn how to create smart creatures in computer games that learn and react to their environment. Neural networks, genetic algorithms, reinforcement learning and more!
More information at Amazon US UK

Reply to Message

Not registered yet?

The AI Depot has a focused community of friendly users. Rather than let anyone abuse the site at the brink of promiscuity, we prefer to let only those with an active interest participate... this simply requires registering.

Why not sign up!

Joining the site's community is completely free. You can then post messages freely, and customise your personal profile at will. Specific privileges will also be granted to you, like being able to access printer-friendly articles without restrictions. So, why not register?

Username:
Password:
Subject:
Email me when someone replies.
Body:

Parent Message

Is it necessary to code the grammar?

Hello!

So this is my first message and sorry for my bad english! :)

My Question: Is it necessary to code the grammar rules? I ask this question because the human brain cannot know which language it learns and so it also cannot know the (language)special grammar rules! (i hope you understand me)
Isn't it possible that the grammar rules can be learned by a neuronal network? I know this isn't as easy as it sounds here, but maybe it's possible to get a structure of several networks that "knows" the grammar rules.

Bye Martin

5 posts.
Monday 10 March, 11:20
Reply
It probably is necessary to code the grammar - for now

Here is my view on this.

I would agree that the human brain does not appear to have hard wired grammar rules for any particular language.

There has been some speculation, with some evidence to support it, that it may contain some sort of generalised grammar rules with parameters of some sort that are then set for the particular language being spoken, but I'll ignore this here.

To learn a language would probably require a very capable modelling system. The brain is clearly very good at this sort of thing. Furthermore, the brain does not just need to look at words on a page. It can relate words to what the eyes see people doing for example. As a very crude example. If it experiences pain commonly after someone says "I will hit you" it can start to get a grasp of what a future tense is.

I think that grammar rules would have to be programmed into computers for now, as a substitute for any decent sort of learning ability in computers. As computers get more sophisticated and we understand more about how to make machines learn they will just pick up language as we do.

Could neural networks learn grammar? Possibly. There have been some experiments. e.g.

http://www.amlap.org/2001/proc/proceedings_online-node23.html

The English in your post is very clear, by the way.

42 posts.
Monday 10 March, 12:26
Reply
brains know and recognize the languages, of course they do

Hello Martin:

You say this:
(My Question: Is it necessary to code the grammar rules?) I ask this question because the human brain cannot know which language it learns and so it also cannot know the (language)special grammar rules! (i hope you understand me)

I don't understand you, others do understand you. I know that our brains as soon as they have learned a part of our language they certainly know some grammar and know enough if what they hear belongs to their learned language. When you hear a Latin word order, you recognize that, isn't it. When I write I have the exercise made, that's very normal for Latin languages but not for English. Doesn’t your brain know that?

You mean of course when you look at mathematical rules nets, but our brain doesn't work in that way. They know nothing of rules. Ever seen spiking neurons. They act and look a result. It's just marvelous they can work so.

Ed van der Meulen.

222 posts.
Monday 10 March, 20:18
Reply
many commercial speech recognition urls

Hello Martin

I googled for: automated speech recognition and found 111,000 hits. Many commercial firms do that. A large firm in Belgium went broke in 2002 by mismanagement. I forgot their names but they where far with it. Something like ... and Hauspie.

My friend Arthur T. Murray has done for speech and understanding speech in the open source community. He knows a lot of it as well.

There's also so much to read about it.

Ed van der Meulen

222 posts.
Tuesday 11 March, 04:36
Reply
grammar rules

Hello!

You said: "I know that our brains as soon as they have learned a part of our language they certainly know some grammar and know enough if what they hear belongs to their learned language." - I think that's exactly the point.

"...as they have learned..." - the brain learns how the language sounds. it learns in which order the words should be spoken! You are right, when you say that a neuron doesn't learn rules but the brain generalizes the language. (thats a little bit fuzzy - i know! :-)
so the brain doesn't really learn the grammer rules, but it learns when to write a subject or a verb to get a right "sounding" wordorder/sentence.

isn't the languagepart the most important part of an AI? When i program the grammer rules, the programm has at the input a language which it doesn't understand and at the output it gets a "language" which the ai can interpret more or less - because its my internal language and not the internal language of the ai. i think that the language interface should mostly be programmed or learned by the ai itsself so that it can design its own internal language. - hope anyone can understand what I'm trying to say!

the programmed language interface is like a "prison" for the ai.

ciao martin

ps.: when you think of an apple you can see a picture of an apple, you know how the word sounds and how it is written - apples are sometimes red, sometimes green. what we also can say is, that the word apple is a subject. maybe the brain can understand language better when it gets the relationship that every subject has attributes (a red apple, a big apple).....

5 posts.
Wednesday 12 March, 15:46
Reply
grammar

I don't think grammar is the most important part of an AI. I think reasoning abilities are. I've finished setting up Arckon's new memory access system as a C++ program, and the basic grammar rules (no past tense, no multiple subjects). Took me four days, but this time, I feel like I'm working on an empty shell. The whole grammar thing does get in the way, as it is slowing down the important progress. I hope the new memory system isn't too slow. it works by accessing a lot of text files and loading their contents into temporary variables, like a list.
It can't speak yet, nor conclude, which Arckon could in his previous Javascript form. But I'll get to that.

21 posts.
Thursday 24 April, 07:35
Reply
Reasoning Abilities

I have to agree, that reasoning abilities are a very big part of an aritifical lifeform. What I thougt was, that this abilities could be restricted by the hard coded language rules.
Some Questions: How is your project going on? What kind of input and outputs do you use? Are there posibilities to use a videocamera as an inputdevice? Do you use a plugin system to add new abilities or functions?

Martin

5 posts.
Tuesday 27 May, 10:46
Reply
not quite yet

yes, they might be. that's why I'm taking as many language shortcuts as I can find.
My project's hardly going as fast as I'd want it. It's been half a year since I started recoding Arckon into c++ programming, and I've worked a total of 9 days on it now. I'm still on grammar. I have nearly completed the grammar rules to recognise and filter multiple possessive words (like: "my father's father's father's etc.") and other specifications.
Input is simply text via my keyboard. as for output; for the moment, I reverted back to having simple messages pop up on the screen. his sentence-formulation functions have not been recoded into c++ code yet.
I am not integrating any other systems yet, though I have thought up a new system I could put in that will allow Arckon to formulate his own subroutines that he learns from experience.

21 posts.
Wednesday 11 June, 09:42
Reply

Back to the AI Foundry.