An implementation of the thesaurus interface