1. A computer readable medium having computer-executable instructions, comprising, accessing a plurality of stroke samples, the stroke samples representing more than one class; extracting curvature features of each of the strokes for each class; and using the curvature features, training a trainable classifier to classify strokes for each class.