title: Rake error while getting stop words list in python
body: <p>I am running the following code</p>
  <pre><code>from rake_nltk import rake
  import operator
  stoppath = 'data/stoplists/SmartStoplist.txt'
  rake_object = rake.Rake(&quot;SmartStopList.txt&quot;,5,3,2)
  </code></pre>
  <p>But when i run the last line i get the below error</p>
  <pre><code>rake_object = rake.Rake(&quot;SmartStopList.txt&quot;,5,3,2)
  Traceback (most recent call last):
  
    File &quot;&lt;ipython-input-12-595e49e89adb&gt;&quot;, line 1, in &lt;module&gt;
      rake_object = rake.Rake(&quot;SmartStopList.txt&quot;,5,3,2)
  
    File &quot;C:\Users\kris\Anaconda3\lib\site-packages\rake_nltk\rake.py&quot;, line 64, in __init__
      self.to_ignore = set(chain(self.stopwords, self.punctuations))
  
  TypeError: 'int' object is not iterable
  </code></pre>
  <p>I am nt sure why am i getting this error. Need help on the same</p>