title: how to extract keywords using RAKE in python
body: <p>I have implemented this code but it prints nothing on screen.</p>
  
  <pre><code>from rake_nltk import Rake
  
  r = Rake() # Uses stopwords for english from NLTK, and all puntuation characters.
  
  #r = Rake(english) # To use it in a specific language supported by nltk.
  
  # If you want to provide your own set of stop words and punctuations to
  # r = Rake(&lt;list of stopwords&gt;, &lt;string of puntuations to ignore&gt;)
  
  print(r.extract_keywords_from_text('hello world'))
  
  r.get_ranked_phrases() # To get keyword phrases ranked highest to lowest.
  </code></pre>