class_docstr: Class contains implementation of Porter stemming algorithm.
  
  Attributes
  --------
  b : str
      Buffer holding a word to be stemmed. The letters are in b[0], b[1] ... ending at b[`k`].
  k : int
      Readjusted downwards as the stemming progresses.
  j : int
      Word length.
class_docstr_tok: ["Class","contains","implementation","of","Porter","stemming","algorithm",".","Attributes","--","--","--","--","b",":","str","Buffer","holding","a","word","to","be","stemmed",".","The","letters","are","in","b","[","0","]",",","b","[","1","]","...","ending","at","b","[","`","k","`","]",".","k",":","int","Readjusted","downwards","as","the","stemming","progresses",".","j",":","int","Word","length","."]
docstr: Remove a final -e if _m() > 1, and change -ll to -l if m() > 1.
docstr_tok: ["Remove","a","final","-e","if","_m","(",")",">","1",",","and","change","-ll","to","-l","if","m","(",")",">","1","."]
code: def _step5(self):
      """Remove a final -e if _m() > 1, and change -ll to -l if m() > 1."""
      k = self.j = self.k
      if self.b[k] == "e":
          a = self._m()
          if a > 1 or (a == 1 and not self._cvc(k - 1)):
              self.k -= 1
      if (
          self.b[self.k] == "l"
          and self._doublec(self.k)
          and self._m() > 1
      ):
          self.k -= 1
  
file_path: gensim/gensim/parsing/porter.py
label_desc: Use image node_id 15 for calling the PorterStemmer obj's underlying member method code with example usage: obj._step5() without return types