A Structural Method with Local Refining for Handwritten Character Recognition