A syntactic method for the classification of the QRS patterns