code: def get_speaker(dialogue):
      """
      Get the name of the speaker of a dialogue.
  
      Arguments
      ---------
      dialogue: Node
          The node where the speaker information is stored.
  
      Returns
      -------
      str
      """
  
      speaker = dialogue.getAttribute("nameSpk")
      speaker = normalize_speaker(speaker)
      return speaker
  
imports: import xml.dom.minidom
  from tqdm import tqdm
  import logging
  import subprocess
  import csv
  import os
  import glob
  import re
label_desc: Use image node_id 16 for calling a global function with example usage: get_speaker(dialogue) and returns: speaker