Words near Keogh plan in the dictionary