Patent attributes
An electronic device and method are disclosed. The electronic device includes a touch-sensitive display, a memory and a processor. The processor implements the method, including: detect a written input including a plurality of strokes through the display, group the plurality of strokes into a first group and a second group based on respective coordinates of each of the plurality of strokes, group first strokes included in the first group into a plurality of blocks, based on a distance between respective coordinates of each of the first strokes, determine a slope for each of the plurality of blocks, rotate an area corresponding to the first group based on the determined slope, execute handwriting recognition on the first strokes based on the rotated area, and displaying a result of the handwriting recognition on the display.