code: def speakerDiarizationWrapper(inputFile, numSpeakers, useLDA):
      if useLDA:
          aS.speaker_diarization(
              inputFile, numSpeakers, lda_dim=5, plot_res=True
          )
      else:
          aS.speaker_diarization(
              inputFile, numSpeakers, lda_dim=0, plot_res=True
          )
  
imports: from __future__ import print_function
  import argparse
  import os
  import numpy
  import glob
  import matplotlib.pyplot
  import ShortTermFeatures
  import MidTermFeatures
  import audioTrainTest
  import audioSegmentation
  import audioVisualization
  import audioBasicIO
  import scipy.io.wavfile
  import matplotlib.patches
label_desc: Use image node_id 21 for calling a global function with example usage: speakerDiarizationWrapper(inputFile, numSpeakers, useLDA) without return types