Text this: Waveform similarity-based recurrent temporary fault identification in a medium-voltage distribution network