1. A method comprising: drawing one or more strokes of a desired shape using a stylus on a touch screen, wherein one of the drawn one or more strokes is a head-line stroke and is a last drawn stroke of the desired shape; dynamically inputting an associated data of the one or more strokes via the touch screen into a handwriting recognition engine; computing stroke recognition characteristics of each of the drawn one or more strokes with reference to a horizontal reference line, wherein the stroke recognition characteristics are selected from the group comprising aspect ratio and slope; determining a trigger stroke in the drawn one or more strokes of the desired shape that can be used to trigger shape recognition based as a function of the computed stroke recognition characteristics of each of the drawn one or more strokes, wherein the trigger stroke is the head-line stroke which is drawn substantially parallel to the horizontal reference line; and triggering shape recognition for the desired shape by the handwriting recognition engine upon determining the trigger stroke.
1. A method comprising: drawing one or more strokes of a desired shape using a stylus on a touch screen, wherein one of the drawn one or more strokes is a head-line stroke and is a last drawn stroke of the desired shape; dynamically inputting an associated data of the one or more strokes via the touch screen into a handwriting recognition engine; computing stroke recognition characteristics of each of the drawn one or more strokes with reference to a horizontal reference line, wherein the stroke recognition characteristics are selected from the group comprising aspect ratio and slope; determining a trigger stroke in the drawn one or more strokes of the desired shape that can be used to trigger shape recognition based as a function of the computed stroke recognition characteristics of each of the drawn one or more strokes, wherein the trigger stroke is the head-line stroke which is drawn substantially parallel to the horizontal reference line; and triggering shape recognition for the desired shape by the handwriting recognition engine upon determining the trigger stroke. 2. The method of claim 1 , further comprising: producing a candidate shape upon triggering the shape recognition by the handwriting recognition engine; and outputting the candidate shape.