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, wherein said determination of said sample feature set further comprises: determining a first angle between a gradient of said line segment in said SLSSP and a segment specific reference line intersecting said SLSSP and said SLSEP; associating said first angle to said sample feature set; determining a second angle between a gradient of said line segment in said SLSEP and a segment specific reference line intersecting said SLSSP and said SLSEP; associating said second angle to said sample feature set; determining a general angle between the segment specific reference line intersecting said SLSSP and said SLSEP and a reference line corresponding to a writing direction; and associating said general angle to said sample feature set; and matching said determined sample feature set to a reference feature set among a plurality of reference feature sets, wherein the method is performed using a computer or processor.