'Return a sequence of Pointers.
If pointerType is specified, only pointers of that type are
returned.  In this case, pointerType should be an element of
POINTER_TYPES.
>>> N[\'dog\'][0].getPointers()[:5]
(hypernym -> {noun: canine, canid}, member meronym -> {noun: Canis, genus Canis}, member meronym -> {noun: pack}, hyponym -> {noun: pooch, doggie, doggy, barker, bow-wow}, hyponym -> {noun: cur, mongrel, mutt})
>>> N[\'dog\'][0].getPointers(HYPERNYM)
(hypernym -> {noun: canine, canid},)'

def getPointers(self, pointerType=None):

    if (not hasattr(self, '_pointers')):
        def loadPointer(tuple, synset=self):
            return Pointer(synset.offset, tuple)
        self._pointers = tuple(map(loadPointer, self._pointerTuples))
        del self._pointerTuples
    if (pointerType == None):
        return self._pointers
    else:
        _requirePointerType(pointerType)
        return filter((lambda pointer, type=pointerType: (pointer.type == type)), self._pointers)
