title: Force wordcloud python module to include all words
body: <p>I'm using the wordcloud module in Python by Andreas Mueller to visualize results of a survey my students will complete.  Brilliant module, very nice pictures, however I have trouble making it recognize all words, even when setting <code>stopwords=None</code> and <code>ranks_only=True</code>. The survey responses are between one and three words long and may contain hyphens. </p>
  
  <p>Here is an example.  First I install dependencies in my Jupyter notebook: </p>
  
  <pre><code>import matplotlib.pyplot as plt
  %matplotlib inline
  from wordcloud import WordCloud
  from scipy.misc import imread
  </code></pre>
  
  <p>Then suppose I put all the responses into a string: </p>
  
  <pre><code>words = "do do do do do do do do do do re re re re re mi mi fa fa fa fa fa fa fa fa fa fa-so fa-so fa-so fa-so fa-so so la ti do"
  </code></pre>
  
  <p>Then I execute the plot:</p>
  
  <pre><code>wordcloud = WordCloud(ranks_only = True,stopwords=None).generate(words)
  plt.imshow(wordcloud)
  plt.axis('off')
  plt.show()
  </code></pre>
  
  <p>But for some reason it ignores "do" and "fa-so" despite their high frequency. </p>
  
  <p>Any tips?  Besides "don't use a word cloud".  It is a silly survey and it invites a silly visualization. Thanks. </p>
  
  <p><strong>Update</strong></p>
  
  <p>Still unable to include hyphenated words (e.g. "fa-so"), they just drop out.  </p>