title: Type Error - stem() missing 1 required positional argument : 'word'
body: <p>I am working on a script to extract relevant tags from the text file which i converted from a URL. One part of the script is giving me error when i apply stemmer, the code is as below</p>
  
  <pre><code>def __call__(self, tag):
      '''
      @param tag: the tag to be stemmed
  
      @returns: the stemmed tag
      '''
  
      string = self.preprocess(tag.string)
      tag.stem = self.stemmer.stem(string)
      return tag 
  </code></pre>
  
  <p>the error is  as below</p>
  
  <pre><code>Type Error - stem() missing 1 required positional argument : 'word'
  </code></pre>
  
  <p>the line causing the error is</p>
  
  <pre><code>tag.stem = self.stemmer.stem(string)
  </code></pre>
  
  <p>I am using Python, if anyone can help me to modify the code to get rid of the error please.</p>