def cons(self, i):
        if self.b[i] in 'aeiou':
            return False
        elif self.b[i] == 'y':
            return True if i == 0 else not self.cons(i-1)
        return True
True iff b[i] is a consonant
dataset/ETHPy150Open jamesturk/jellyfish/jellyfish/porter.py/Stemmer.cons