Adding cache support for wordnet.synsets