Apparatus for classifying digital signal sequences