'Return a sequence of senses.
>>> N[\'dog\'].getSenses()
(\'dog\' in {noun: dog, domestic dog, Canis familiaris}, \'dog\' in {noun: frump, dog}, \'dog\' in {noun: dog}, \'dog\' in {noun: cad, bounder, blackguard, dog, hound, heel}, \'dog\' in {noun: frank, frankfurter, hotdog, hot dog, dog, wiener, wienerwurst, weenie}, \'dog\' in {noun: pawl, detent, click, dog}, \'dog\' in {noun: andiron, firedog, dog, dog-iron})'

def getSenses(self):

    if (not hasattr(self, '_senses')):
        def getSense(offset, pos=self.pos, form=self.form):
            return getSynset(pos, offset)[form]
        self._senses = tuple(map(getSense, self._synsetOffsets))
        del self._synsetOffsets
    return self._senses
