code: def text_to_dict(text_lst):
      """
      This converts lines of text into a dictionary-
  
      Arguments
      ---------
      text_lst : str
          Path to the file containing the librispeech text transcription.
  
      Returns
      -------
      dict
          The dictionary containing the text transcriptions for each sentence.
  
      """
      # Initialization of the text dictionary
      text_dict = {}
      # Reading all the transcription files is text_lst
      for file in text_lst:
          with open(file, "r") as f:
              # Reading all line of the transcription file
              for line in f:
                  line_lst = line.strip().split(" ")
                  text_dict[line_lst[0]] = "_".join(line_lst[1:])
      return text_dict
  
file_path: speechbrain/recipes/LibriSpeech/ASR/seq2seq/librispeech_prepare.py
imports: import os
  import csv
  import random
  from collections import Counter
  from dataclasses import dataclass
  import functools
  import logging
  from speechbrain.utils.data_utils import download_file, get_all_files
  from speechbrain.dataio.dataio import load_pkl, save_pkl, merge_csvs, read_audio_info
  from speechbrain.utils.parallel import parallel_map
label_desc: Use image node_id 7 for calling a global function with example usage: text_to_dict(text_lst) and returns: text_dict