PARALLEL ALGORITHMS FOR PATTERN RECOGNITION