Multi-stage pre-candidate selection in handwritten chinese character recognition systems