Text this: Machine learning analysis of extreme events in optical fibre modulation instability