code: def getOverlap(a, b):
      """get the overlap length of two intervals
  
      Arguments
      ---------
      a : list
      b : list
      """
      return max(0, min(a[1], b[1]) - max(a[0], b[0]))
  
file_path: speechbrain/recipes/ZaionEmotionDataset/emotion_diarization/zed_prepare.py
imports: import os
  import random
  import json
  import logging
  from datasets.prepare_EMOVDB import prepare_emovdb
  from datasets.prepare_ESD import prepare_esd
  from datasets.prepare_IEMOCAP import prepare_iemocap
  from datasets.prepare_JLCORPUS import prepare_jlcorpus
  from datasets.prepare_RAVDESS import prepare_ravdess
label_desc: Use image node_id 1 for calling a global function with example usage: getOverlap(a, b) and returns: max