Click here to Skip to main content
15,884,598 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i identify verbs in English statment
Posted
Comments
Dalek Dave 29-Jul-10 11:21am    
I would normally edit this kind of question for the benefit of others, but this is just too good an opportunity.
Richard MacCutchan 30-Jul-10 4:16am    
Quote "I want the best technique of natural language processing".
I guess you do not understand how complicated this subject is. My advice is to do some Google searches for "language analysis" or similar and see what you come up with.

By using a dictionary to look them up. There is no simple way a computer program can analyse any word and decide whether it is a verb, noun, adjective etc. This is particularly true with English as it is probably the least regular language.
 
Share this answer
 
Comments
sleeeem 29-Jul-10 23:59pm    
I want the best technique of natural language processing
Oh dear, where to begin.

Speaking good English would help.
Begin sentences with a capital letter.
The personal pronoun should always be a majuscule.
Learn the correct usage of definite and indefinite articles.
Use the correct punctuation.
Spelling is very important.

Once this has been achieved you will be in a position to learn Verbs, Adjectives, Adverbs, Nouns etc.

There is no easy answer, as the English language contains many words where that word may be used as a Noun, Transitive Verb, Intransitive Verb, Pronoun, Preposition and Adjective.

Simple Example[^]

It would be difficult to recognise it without context.
 
Share this answer
 
Start here[^] - those are the rules that they teach in school. You might be able to translate those to code :)
 
Share this answer
 
Comments
Mark_Wallace 30-Jul-10 7:23am    
"Only verbs make sense after personal references: I, you, he, she, it, we, they; other words don't."

I /emphatically/ disagree. I /often/ use other parts of speech after personal pronouns. You /really/ shouldn't trust that web-site, if it can't get something so basic right.
With a lot of difficulties.

- you could be dumb and use a dictionary.
- you could be smart and apply a lexical/grammatical analyzer and get the result from that.

...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900