1. A method comprising: receiving an input character, wherein the input character is composed of one or more logical structures; identifying a layout of the one or more logical structures in the input character; selecting one or more of a plurality of classifiers based on the layout of the one or more logical structures in the input character; classifying the one or more logical structures using the one or more selected classifiers to generate one or more outputs; and combining the one or more outputs from the one or more selected classifiers to form an output character vector.