Text this: Dynamic mode decomposition of extreme events