1. A computer-implemented method for processing an image of handwritten text, the method comprising: segmenting, by a computing device, the image of handwritten text into at least one disjoint component image corresponding to a plurality of individual glyphs connected by a plurality of ligatures; skeletonizing, by said computing device, said disjoint component image into a grid graph comprising a plurality of nodes with at least three paths; determining, by said computing device according to said grid graph, a connected path traversing said plurality of ligatures and comprising a subset of said plurality of nodes with at least three paths; generating, by said computing device, a plurality of connected graphs corresponding to a plurality of edges in said disjoint component image; segmenting, by said computing device, said disjoint component image into a plurality of non-overlapping segments according to said connected path and said plurality of connected graphs; and determining, by said computing device, a set of one or more adjacent non-overlapping segments corresponding to each of said plurality of individual glyphs.