Words near records management in the dictionary