1. A method of preprocessing an electronic ink object comprising the steps of: (a) segmenting the electronic ink object into at least one line; (b) estimating a writing angle of each line; and (c) rotating each line to make horizontal a centerline of the line.