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.
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. 9. The computer-readable medium excluding signals, the computer-readable medium of claim 1 , wherein the script type is selected from the group consisting of a Han script and a Roman script, having computer-executable instructions to perform: (d) classifying the script type as the Han script when the sub-word contains a number of strokes exceeding a predetermined threshold.