code: def get_audacity_label(
      word: str, stt_sec: float, end_sec: float, speaker: str
  ) -> str:
      """
      Get a string formatted line for Audacity label.
  
      Args:
          word (str):
              A decoded word
          stt_sec (float):
              Start timestamp of the word
          end_sec (float):
              End timestamp of the word
  
      Returns:
          speaker (str):
              Speaker label in string type
      """
      spk = speaker.split("_")[-1]
      return f"{stt_sec}\t{end_sec}\t[{spk}] {word}"
  
imports: import copy
  import csv
  import json
  import os
  from collections import OrderedDict
  from datetime import datetime
  from typing import Dict, List, Tuple
  import numpy
  from nemo.collections.asr.metrics.der import concat_perm_word_error_rate
  from nemo.collections.asr.metrics.wer import word_error_rate
  from nemo.collections.asr.models import ClusteringDiarizer
  from nemo.collections.asr.parts.utils.speaker_utils import audio_rttm_map, get_uniqname_from_filepath, labels_to_rttmfile, rttm_to_labels, write_rttm2manifest
  from nemo.utils import logging
label_desc: Use image node_id 7 for calling a global function with example usage: get_audacity_label(word, stt_sec, end_sec, speaker) and returns: stt_sec, str, end_sec, str, spk, str, word