Feature Evaluation for Handwriting: a ranking-based approach