Exploiting Contextual Information via Dynamic Memory Network for Event Detection