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: Check if b[j - 1: j + 1] contain a double consonant letter.
  
  Parameters
  ----------
  j : int
      Index for `b`
  
  Returns
  -------
  bool
  
  Examples
  --------
  .. sourcecode:: pycon
  
      >>> from gensim.parsing.porter import PorterStemmer
      >>> p = PorterStemmer()
      >>> p.b = "real"
      >>> p.j = 3
      >>> p._doublec(3)
      False
      >>> p.b = "really"
      >>> p.j = 5
      >>> p._doublec(4)
      True
docstr_tok: ["Check","if","b","[","j","-","1",":","j","+","1","]","contain","a","double","consonant","letter",".","Parameters","--","--","--","--","--","j",":","int","Index","for","`","b","`","Returns","--","--","--","-","bool","Examples","--","--","--","--","..","sourcecode",":",":","pycon",">",">",">","from","gensim.parsing.porter","import","PorterStemmer",">",">",">","p","=","PorterStemmer","(",")",">",">",">","p.b","=","``","real","''",">",">",">","p.j","=","3",">",">",">","p._doublec","(","3",")","False",">",">",">","p.b","=","``","really","''",">",">",">","p.j","=","5",">",">",">","p._doublec","(","4",")","True"]
code: def _doublec(self, j):
      """Check if b[j - 1: j + 1] contain a double consonant letter.
  
      Parameters
      ----------
      j : int
          Index for `b`
  
      Returns
      -------
      bool
  
      Examples
      --------
      .. sourcecode:: pycon
  
          >>> from gensim.parsing.porter import PorterStemmer
          >>> p = PorterStemmer()
          >>> p.b = "real"
          >>> p.j = 3
          >>> p._doublec(3)
          False
          >>> p.b = "really"
          >>> p.j = 5
          >>> p._doublec(4)
          True
  
      """
      return j > 0 and self.b[j] == self.b[j - 1] and self._cons(j)
  
file_path: gensim/gensim/parsing/porter.py
label_desc: Use image node_id 5 for calling the PorterStemmer obj's underlying member method code with example usage: obj._doublec(j) and returns: unknown