':rtype: list(int)
:return: A list of the offset positions at which the given
word occurs.  If a key function was specified for the
index, then given word\'s key will be looked up.'

def offsets(self, word):

    word = self._key(word)
    return self._offsets[word]
