Words near ids in the dictionary