1. A computer-readable medium excluding signals, the computer-readable medium having computer-executable instructions for performing steps comprising: (a) determining whether a sub-word of a writing line corresponds to a cursive writing style; (b) determining whether the sub-word corresponds to a hand-printed writing style; and (c) in response to (a) and (b), classifying a script type of the writing line as a first script type when a first number of sub-words that are classified as the first script type exceeds a second number of sub-words that are classified as a second script type.