Learning Prototype Representations Across Few-Shot Tasks for Event Detection