Tag extract text from handwritten documents