Text this: An event generator for neutrino-induced deep inelastic scattering and applications to neutrino astronomy