title: How to get the wordnet sense frequency of a synset in NLTK?
body: <p>According to the documentation i can load a sense tagged corpus in nltk as such:</p>
  
  <pre><code>&gt;&gt;&gt; from nltk.corpus import wordnet_ic
  &gt;&gt;&gt; brown_ic = wordnet_ic.ic('ic-brown.dat')
  &gt;&gt;&gt; semcor_ic = wordnet_ic.ic('ic-semcor.dat')
  </code></pre>
  
  <p>I can also get the <code>definition</code>, <code>pos</code>, <code>offset</code>, <code>examples</code> as such:</p>
  
  <pre><code>&gt;&gt;&gt; wn.synset('dog.n.01').examples
  &gt;&gt;&gt; wn.synset('dog.n.01').definition
  </code></pre>
  
  <p><strong>But how can get the frequency of a synset from a corpus?</strong> To break down the question:</p>
  
  <ol>
  <li>first how to count many times did a synset occurs a sense-tagged corpus?</li>
  <li>then the next step is to divide by the the count by the total number of counts for all synsets occurrences given the particular lemma.</li>
  </ol>