1. A computer-readable medium storing computer-executable instructions that, when executed, cause one or more processors to perform 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.