title: How can I find a specific bigram using nltk in python?
body: <p>I am currently working with nltk.book iny Python and would like to find the frequency of a specific bigram. I know there is the bigram() function that gives you the most common bigrams in the text as in this code:</p>
  <pre><code>    &gt;&gt;&gt; list(bigrams(['more', 'is', 'said', 'than', 'done']))
      [('more', 'is'), ('is', 'said'), ('said', 'than'), ('than', 'done')]
      &gt;&gt;&gt;
  </code></pre>
  <p>But what if I was searching for only a specific one like &quot;wish for&quot;? I couldn't find anything about that in the nltk documentation so far.</p>