Text this: Automatic pattern recognition of single and multiple power quality