code: def _long_by_position(self, syllable, sentence):
          
          try:
              next_syll = sentence[sentence.index(syllable) + 1]
              # Long by position by case 1
              if (next_syll[0] in self.sing_cons and next_syll[1] in
                      self.sing_cons) and (next_syll[0] not in self.stops and
                                           next_syll[1] not in self.liquids):
                  return True
              # Long by position by case 2
              elif syllable[-1] in self.vowels and next_syll[0] in self.doub_cons:
                  return True
              # Long by position by case 3
              elif syllable[-1] in self.sing_cons and (next_syll[0] in self.sing_cons):
                  return True
              else:
                  pass
          except IndexError:
              logger.info("IndexError while checking if syllable '%s' is long. Continuing.", syllable)
docs: Check if syllable is long by position.
  
          Long by position includes:
          1) Next syllable begins with two consonants, unless those consonants
          are a stop + liquid combination
          2) Next syllable begins with a double consonant
          3) Syllable ends with a consonant and the next syllable begins with a
          consonant
          :param syllable: Current syllable
          :param sentence: Current sentence
          :return: True if syllable is long by position
          :rtype : bool