title: How to get all the hyponyms of a word/synset in python nltk and wordnet?
body: <p>I have a list of all the nouns in wordnet now i want to leave only words which are vehicles and remove the rest. How do i do it? Below is the pseudo-code i want to make but i do not know how to make it work</p>
  
  <pre><code>for word in wordlist:
    if not "vehicle" in wn.synsets(word):
      wordlist.remove(word)
  </code></pre>