code: def prepare_lexicon(lexicon_file, output_file):
      """
      Prepare the swbd1 lexicon for further processing.
      The lexicon is used to find acronyms and to convert them into Fisher convention.
  
      Parameters
      ----------
      lexicon_file : str
          Path to the sw-ms98-dict.text file in the Switchboard corpus
      output_file : str
          Path to store the cleaned lexicon at
  
      Returns
      -------
      A list containing the cleaned lexicon entries
  
      """
      lexicon = []
      lex_out = open(output_file, "w")
      with open(lexicon_file) as lf:
          # Skip first row
          next(lf)
          for line in lf:
              # Skip header
              if line.startswith("#"):
                  continue
              parsed_line = match_swbd1(line.strip())
              if len(parsed_line) > 0:
                  lexicon.append(parsed_line)
                  lex_out.write(f"{parsed_line}\n")
      return lexicon
  
imports: import re
  import csv
  import logging
  import os
  from collections import defaultdict
  from speechbrain.dataio.dataio import merge_csvs
  from speechbrain.utils.data_utils import download_file, get_all_files
label_desc: Use image node_id 12 for calling a global function with example usage: prepare_lexicon(lexicon_file, output_file) and returns: lexicon