Text this: Wavefront Detection and Event Segmentation Method for Partial Discharge Signal Analysis