code: def find_durations(datas, num_proc, src_field):
      pool = Pool(num_proc)
      if src_field >= 0:
          datas = [
              (k, v.strip().split()[src_field])
              for k, v in datas.items()
          ]
      else:
          datas = [(k, v.strip()) for k, v in datas.items()]
      datas = pool.map(find_duration, datas)
      pool.close()
      pool.join()
      datas = {tup[0]: tup for tup in datas}
      datas = {
          k: v for k, v in datas.items() if v[2] > 0.1
      }  # minimum length
      return datas
  
file_path: espnet/egs2/owsm_v3/s2t1/local/kaldi_to_whisper.py
imports: import logging
  from argparse import ArgumentParser
  from io import BytesIO
  from multiprocessing import Pool
  from pathlib import Path
  import kaldiio
  import librosa
  import soundfile
  from utils import SYMBOL_NA, SYMBOL_NOSPEECH, SYMBOLS_TIME, LongUtterance, Utterance, generate_long_utterances
label_desc: Use image node_id 4 for calling a global function with example usage: find_durations(datas, num_proc, src_field) and returns: datas