The MUSE eXtremely Deep Field: classifying the spectral shapes of Lyα-emitting galaxies