Ukrainian document recognition