1. A computer program product, comprising a computer usable medium having a computer readable program code embodied therein, said computer readable program code adapted to be executed to implement a method for providing handwriting recognition for a superimposed input stroke, said method comprising: creating a segmentation graph based on at least one input stroke, wherein the segmentation graph consists of nodes corresponding to character hypotheses; assigning a recognition score to each node of the segmentation graph based on a pattern classifier; generating linguistic meaning of the input strokes based on the recognition scores and a language model; and providing an output based on the simultaneous analysis of the segmentation graph, the recognition score, and the language model.