How to get a dictionary for an interpreter?

I’m looking for a dictionary to load in a new interpreter. Basically, what I need are lists of English (American) words by type. Verbs, nouns, adjectives, adverbs, etc.
I’ve been looking on the web but without much success. Most lists are ordered by topic (farm, cars, airport, ect) or just plain alphabetically ordered lists. Can’t find information on the Inform website about how they do it either, so I feel kind of stuck, now.
I hope someone on the forum can help me out here.

i’ve used this, wordnet.princeton.edu/

Thank you!. I found the core-wordnet.txt file.