def METHOD_NAME(self, index) -> str:
    assert 0 <= index < len(self._synsets), \
        f'Index ({index}) out of range for dataset with {len(self._synsets)} classes.'
    return self._synsets[index]