Words near page recognition in the dictionary