Can i teach vb.net grammar?

Denver Gamio

Pro Article Writer
Sep 21, 2009
249
1
0
Paris
ezinearticles.com
Hello. I have a question, I have created a search and replace box thing in vb.net. But I want to teach it grammar, basically nouns, pronouns, adjectives. For example:

If the word 'way' would normally be replaced by 'method', 'process' such as
"the way to eat is through the mouth" ~would become "the method/process to eat is through the mouth" But in a situation such as "the way to the jungle is through there" I do not want to use method/process because then it could not make any sense at all; instead I would like to use the word 'path/route'.

Basically the words 'to eat' and 'the jungle' should be differentiated as noun or verb kinda like MS word does (it usually underlines gramatical errors in green if it does not make sense). Is this even possible?

PS: If possible leave out reg exps coz they are extremely confusing for me to fathom. :)
 


nope. not a content spinner. That sucks and would be too much work. I need it for an accounting project for someone. (don't wonder what accounts has to do with a thesaurus...) So is it possible? I kinda have the thesaurus, took it from MS word, but how do I teach it grammar?
 
nope. not a content spinner. That sucks and would be too much work. I need it for an accounting project for someone. (don't wonder what accounts has to do with a thesaurus...) So is it possible? I kinda have the thesaurus, took it from MS word, but how do I teach it grammar?

A content spinner would be too much work compared to trying to "teach" a programming language a set of ambiguous rules, syntax and morphology?
 
I think you are describing a grammar parser. If you can do C, this one's a good starting point and probably one of the best you'll find out in the open:

Link Grammar
 
This thread started out funny....

I have created a search and replace box thing in vb.net. But I want to teach it grammar, basically nouns, pronouns, adjectives.

... and it just got funnier...

PS: If possible leave out reg exps coz they are extremely confusing for me to fathom. :)

... and then it got hilarious.

nope. not a content spinner. That sucks and would be too much work.I kinda have the thesaurus, took it from MS word, but how do I teach it grammar?

Let us know how it turns out champ.
 
You obviously understand the intricacies of programming. Give up now and leave us alone.