code: def ee_post_process3(self, text, result):
      def get_span(text, template):
          match = re.findall(template, text)
          try:
              match = match[0]
          except IndexError:
              match = ""
          return match.strip()
  
      rst = self.replace_nomiss(result)
      matches = re.findall(EE_triple3, rst)
      new_record = []
  
      for m in matches:
          trigger = get_span(m, EE_triple3_trigger)
          event_type = get_span(m, EE_triple3_type)
          if trigger == "" or event_type == "":
              continue
          if trigger == self.NAN or event_type == self.NAN:
              continue
          new_record.append((event_type, trigger))
      return new_record
  
file_path: DeepKE/example/llm/InstructKGC/kg2instruction/eval/extracter/eet_extractor.py
imports: import re
label_desc: Use image node_id 8 for calling the EETExtractor obj's underlying member method code with example usage: obj.ee_post_process3(text, result) and returns: new_record, match