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: Stem the sentence `txt`.
  
  Parameters
  ----------
  txt : str
      Input sentence.
  
  Returns
  -------
  str
      Stemmed sentence.
  
  Examples
  --------
  .. sourcecode:: pycon
  
      >>> from gensim.parsing.porter import PorterStemmer
      >>> p = PorterStemmer()
      >>> p.stem_sentence("Wow very nice woman with apple")
      'wow veri nice woman with appl'
docstr_tok: ["Stem","the","sentence","`","txt","`",".","Parameters","--","--","--","--","--","txt",":","str","Input","sentence",".","Returns","--","--","--","-","str","Stemmed","sentence",".","Examples","--","--","--","--","..","sourcecode",":",":","pycon",">",">",">","from","gensim.parsing.porter","import","PorterStemmer",">",">",">","p","=","PorterStemmer","(",")",">",">",">","p.stem_sentence","(","``","Wow","very","nice","woman","with","apple","''",")","'wow","veri","nice","woman","with","appl","'"]
code: def stem_sentence(self, txt):
      """Stem the sentence `txt`.
  
      Parameters
      ----------
      txt : str
          Input sentence.
  
      Returns
      -------
      str
          Stemmed sentence.
  
      Examples
      --------
      .. sourcecode:: pycon
  
          >>> from gensim.parsing.porter import PorterStemmer
          >>> p = PorterStemmer()
          >>> p.stem_sentence("Wow very nice woman with apple")
          'wow veri nice woman with appl'
  
      """
      return " ".join(self.stem(x) for x in txt.split())
  
file_path: gensim/gensim/parsing/porter.py
label_desc: Use image node_id 17 for calling the PorterStemmer obj's underlying member method code with example usage: obj.stem_sentence(txt) and returns: str