An electronic device comprising: a touch screen; a processor electrically connected to the touch screen; and a memory electrically connected to the processor, wherein the memory stores instructions which, when executed by the processor, cause the processor to perform operations comprising: displaying at least one reference character on the touch screen; receiving a touch gesture via the touch screen; displaying a track of the received touch gesture on the touch screen; recognizing the track of the touch gesture as at least one input character corresponding to at least one reference character; identifying at least one reference character and at least one input character, as at least one stroke, based on a preset standard; comparing corresponding strokes of at least one reference character with at least one input character, and determining errors by strokes; and characterized in that the operations further comprise: summing the errors by strokes of each of at least one reference character, determining errors by characters, and setting a display frequency of a reference character wherein the higher the errors by characters the higher the display frequency to be displayed on the touch screen. a touch screen; a processor electrically connected to the touch screen; and a memory electrically connected to the processor, wherein the memory stores instructions which, when executed by the processor, cause the processor to perform operations comprising: displaying at least one reference character on the touch screen; receiving a touch gesture via the touch screen; displaying a track of the received touch gesture on the touch screen; recognizing the track of the touch gesture as at least one input character corresponding to at least one reference character; identifying at least one reference character and at least one input character, as at least one stroke, based on a preset standard; comparing corresponding strokes of at least one reference character with at least one input character, and determining errors by strokes; and displaying at least one reference character on the touch screen; receiving a touch gesture via the touch screen; displaying a track of the received touch gesture on the touch screen; recognizing the track of the touch gesture as at least one input character corresponding to at least one reference character; identifying at least one reference character and at least one input character, as at least one stroke, based on a preset standard; comparing corresponding strokes of at least one reference character with at least one input character, and determining errors by strokes; and characterized in that the operations further comprise: summing the errors by strokes of each of at least one reference character, determining errors by characters, and setting a display frequency of a reference character wherein the higher the errors by characters the higher the display frequency to be displayed on the touch screen. summing the errors by strokes of each of at least one reference character, determining errors by characters, and setting a display frequency of a reference character wherein the higher the errors by characters the higher the display frequency to be displayed on the touch screen. <EOS>