code: def separete_vp(voice_part_old, voice_part_tmp):
      # set length of voice_part
      ovn = len(voice_part_old)  # Number of Old Voice part
      tvn = len(voice_part_tmp)  # Number of Tmp Voice part
  
      # initialize output
      voice_part_add = []
      del_list = []
      # pick up the additional separater
      for i in range(ovn):
          for j in range(tvn):
              if (voice_part_tmp[j][0] < voice_part_old[i][0]) and (
                  voice_part_old[i][0] < voice_part_tmp[j][1]
              ):
                  voice_part_add.append(voice_part_old[i][0])
                  voice_part_add.append(voice_part_tmp[j][1])
                  if not np.any(del_list == j):
                      del_list.append(j)
                      if (
                          voice_part_tmp[j][0] < voice_part_old[i][1]
                      ) and (
                          voice_part_old[i][1] < voice_part_tmp[j][1]
                      ):
                          voice_part_add.append(voice_part_old[i][0])
                          voice_part_add.append(voice_part_old[i][1])
  
              if (voice_part_tmp[j][0] < voice_part_old[i][1]) and (
                  voice_part_old[i][1] < voice_part_tmp[j][1]
              ):
                  voice_part_add.append(voice_part_tmp[j][0])
                  voice_part_add.append(voice_part_old[i][1])
                  if not np.any(del_list == j):
                      del_list.append(j)
  
      # delite old separater
      voice_part_res = np.delete(voice_part_tmp, del_list, 0)
      rvn = len(voice_part_res)  # Number of Resodual Voice part
  
      # merge the additional separater
      for i in range(rvn):
          voice_part_add.append(voice_part_res[i][0])
          voice_part_add.append(voice_part_res[i][1])
  
      return np.sort(np.reshape(voice_part_add, (-1, 2)), axis=0)
  
file_path: espnet/egs/blizzard17/tts1/local/make_lab_wo_sil.py
imports: import csv
  import sys
  import librosa
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: separete_vp(voice_part_old, voice_part_tmp) and returns: np