title: Getting a Large List of Nouns (or Adjectives) in Python with NLTK; or Python Mad Libs
body: <p>Like <a href="https://stackoverflow.com/questions/7439555/noun-adjective-etc-word-lists-or-dictionaries-common-words">this question</a>, I am interested in getting a large list of words by part of speech (a long list of nouns; a list of adjectives) to be used programmatically elsewhere. <a href="https://stackoverflow.com/questions/4108757/get-list-of-nouns-adjectives-from-wordnet">This answer</a> has a solution using the WordNet database (in SQL) format. </p>
  
  <p>Is there a way to get at such list using the corpora/tools built into the Python NLTK. I could take a large bunch of text, parse it and then store the nouns and adjectives. But given the dictionaries and other tools built in, is there a smarter way to simply extract the words that are already present in the NLTK datasets, encoded as nouns/adjectives (whatever)?</p>
  
  <p>Thanks.</p>