qwertymk
qwertymk

Reputation: 35274

where can I find a good wordlist

I'm looking for a file that is a wordlist and also is set up by type of word. For example something in this format

Nouns: {
    bus
    car
    deck
    elephant
    ...
}
Adjectives {
    awful
    bashful
    ...
}
Advervb {
    ...
}

Any ideas?

Upvotes: 8

Views: 10519

Answers (5)

Manolis M. Tsangaris
Manolis M. Tsangaris

Reputation: 138

To obtain human readable output, you need to use ASPELL twice:

aspell -d en dump master | aspell -l en expand > words

at least according to: http://www.commandlinefu.com/commands/view/10619/dump-an-aspell-dictionary-as-a-word-list

Here is an example:

aspell -d en dump master | aspell -l en expand
...
abases
abbesses
abscess
abscess's
abscissa
abuser's
abusers
abuse's
abuses
abysses
...

Upvotes: 0

astine
astine

Reputation: 286

The MOBY word list is almost exactly what you're looking for: http://icon.shef.ac.uk/Moby/mpos.html

This list also builds on the MOBY list: http://www.ashley-bovan.co.uk/words/partsofspeech.html

Upvotes: 7

payne
payne

Reputation: 14177

One problem is that the word type depends on usage and context. For example, 'root' can be a noun or verb.

On a Unix/Linux system with aspell installed, this will give you all the words in the dictionary:

aspell dump master

Finally, see the related question: Need free English dictionary or Corpus, ultimately for a MySQL database

Upvotes: 3

rahul
rahul

Reputation: 1290

Most flavors of linux ship with a file called dictionary. It's got all English words you might want, but they are not categorized.

Upvotes: 1

Related Questions