1. A computer-readable medium having computer-executable instructions for performing steps comprising: (a) forming a primitive structure from a handwritten document, the primitive structure being associated with a set of component objects; (b) detecting a logical structure of a candidate handwritten object from the set of component objects; (c) determining a classifier for the candidate handwritten object; and (d) validating the candidate handwritten object from the classifier to obtain a validated handwritten object.