Text this: A framework for non-intrusive load monitoring and diagnostics