Text this: Design optimization of ann-based pattern recognizer for multivariate quality control