def count_syllables(self):
        si = 0
        syllable_count = 0
        try:
            for word in self.words:
                syllable_count += self._count_syllables(self.clean(word))
        except __HOLE__:
            print("I don't know '%s'"%word)
            return -1
        except Nope:
            print("I can't do '%s'"%word)
            return -1
        return syllable_count
dataset/ETHPy150Open jdf/haikufinder/haikufinder/__init__.py/LineSyllablizer.count_syllables