code: def load_schema_dict(schema_folder):
      schema_dict = dict()
      for schema_key in ["record", "entity", "relation", "event"]:
          schema_filename = os.path.join(
              schema_folder, f"{schema_key}.schema"
          )
          if os.path.exists(schema_filename):
              schema_dict[schema_key] = RecordSchema.read_from_file(
                  schema_filename
              )
          else:
              logger.warning(f"{schema_filename} is empty, ignore.")
              schema_dict[schema_key] = RecordSchema.get_empty_schema()
      return schema_dict
  
file_path: DeepKE/src/deepke/name_entity_re/cross/sel2record/sel2record.py
imports: from collections import defaultdict, OrderedDict
  import os
  from ..extraction.record_schema import RecordSchema
  from ..extraction.predict_parser import get_predict_parser
  from ..sel2record.record import EntityRecord, MapConfig, RelationRecord, EventRecord
  import logging
label_desc: Use image node_id 4 for calling the SEL2Record obj's underlying member method code with example usage: obj.load_schema_dict(schema_folder) and returns: schema_dict