Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,486 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,702 people online right now. Registration is fast and FREE... Join Now!




Select all Nouns from the List

 
Reply to this topicStart new topic

Select all Nouns from the List

davegeek
27 Feb, 2008 - 01:13 PM
Post #1

D.I.C Head
Group Icon

Joined: 30 Jan, 2008
Posts: 81



Thanked: 1 times
My Contributions
Hi there.

I have got a list of all English words in the txt file, each word (it can be noun, verb, adjective, etc.) is at the new row.
I need to select only nouns and leave only 5 first letters of the word.

This is not home assignment (I am telling the truth!), just for the program which I develop, it'll use shortcuts for chatting purposes.
So, I can imagine how I will use VBA to leave the 1st 5 letters (in Excel sheet for example).

But please help me with the selection of all the nouns from the list, where can I start with and any ideas?
May be there is some kind of lexical analysis software that I can hook up my program with or anything like that?

This post has been edited by davegeek: 27 Feb, 2008 - 01:19 PM
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: Select All Nouns From The List
27 Feb, 2008 - 02:10 PM
Post #2

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,459



Thanked: 10 times
Dream Kudos: 325
My Contributions
QUOTE(davegeek @ 27 Feb, 2008 - 02:13 PM) *

May be there is some kind of lexical analysis software that I can hook up my program with or anything like that?

Unlikely. Your best bet is probably to get a giant list of nouns, and compare each word to them to see if it's a noun.

There are lots of wordlists floating around on the net (mostly used for password cracking tbh), you'll just have to find one that's all nouns.
User is offlineProfile CardPM
+Quote Post

joshthejest
RE: Select All Nouns From The List
1 Mar, 2008 - 06:02 PM
Post #3

New D.I.C Head
Group Icon

Joined: 26 Feb, 2008
Posts: 30


Dream Kudos: 25
My Contributions
QUOTE(Tom9729 @ 27 Feb, 2008 - 03:10 PM) *

QUOTE(davegeek @ 27 Feb, 2008 - 02:13 PM) *

May be there is some kind of lexical analysis software that I can hook up my program with or anything like that?

Unlikely. Your best bet is probably to get a giant list of nouns, and compare each word to them to see if it's a noun.

There are lots of wordlists floating around on the net (mostly used for password cracking tbh), you'll just have to find one that's all nouns.



I realize this post is somewhat old, but you may be able to query a website like dictionary.com and analyze what is on that page to determine if it is a noun or not. Of course this would require an active internet connection. This would alleviate the need to have a whole list of nouns.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 07:21PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month