an adaptive approach to extract characters from digital ink text in chinese based on extracted errors