3. The computer-readable medium excluding signals, the computer-readable medium of claim 1 having computer-executable instructions to perform: (d) preprocessing the writing line before determining a writing style of the writing line.
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.