A fuzzy and rough sets approach for recognition of handwritten Thai characters