1. A method for classifying a line segment of a handwritten line into a reference feature set, wherein said handwritten line comprises one or several curves representing a plurality of symbols, said method comprising: receiving sample data representing said handwritten line; identifying a sample line segment in said received sample data by detecting a sample line segment start point (SLSSP) and a sample line segment end point (SLSEP); determining a sample feature set of said identified sample line segment; and matching said determined sample feature set to a reference feature set among a plurality of reference feature sets.