1. A computer implemented method for recognition of a handwritten pattern comprising one or more curves, said method comprising: receiving, by a computational device, sample data representing the handwritten pattern; segmenting, by the computational device, the handwritten pattern by detecting segmentation points on each curve and by dividing the handwritten pattern into segments, wherein detecting segmentation points further comprises detecting the segmentation points as local extreme points which are below a predetermined threshold, such that a particular gradient function of the curve is exceeded; and comparing, by the computational device, the handwritten pattern to templates wherein the comparing comprises: normalizing, by the computational device, said segments according to a scheme which is independent of the templates to which the segments are to be compared, and determining, by the computational device, matching measures for selecting at least one sequence of templates representing a recognition candidate of the handwritten pattern.