Text this: Mathematical methods for classifying fast radio bursts