title: module error in code. Cannot figure out what is wrong
body: <p>I am getting error in my following code. I cant figure out what is wrong in this. Please help.</p>
  <pre><code>from nltk.corpus import stopwords 
  from nltk.tokenize import word_tokenize  
  import tqdm
  
  stop_words = set(stopwords.words('english'))   
  text_final = []
  post_processed_text = X['combined']
  filtered_sentence=[]
  
  for words in tqdm(range(len(post_processed_text))):
      post_processed_text[words] = str(post_processed_text[words])
  
  for words in tqdm(post_processed_text):
      word_tokens = word_tokenize(words)   
      filtered_sentence = [w for w in word_tokens if not w in stop_words]
      text_final.append(' '.join(filtered_sentence))
  
  post_processed_text = text_final
  </code></pre>
  <p>I am getting an error</p>
  <pre><code>---------------------------------------------------------------------------
  TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-21-076ead03255a&gt; in &lt;module&gt;()
        8 filtered_sentence=[]
        9 
  ---&gt; 10 for words in tqdm(range(len(post_processed_text))):
       11     post_processed_text[words] = str(post_processed_text[words])
       12 
  
  TypeError: 'module' object is not callable
  </code></pre>
  <p>I tried changing names of every variable but still i cant understand what is wrong. Please help</p>