original_docstring: 
      Load a Kaldi script file (.scp)
  
      See http://kaldi-asr.org/doc/io.html#io_sec_scp_details for more information
  
      Parameters
      ----------
      path : str
          Path to Kaldi script file
  
      Returns
      -------
      dict
          Dictionary where the keys are the first couple and the values are all
          other columns in the script file
  
      
docstring: 
  
  Parameters
  
  path : str
  Path to Kaldi script file
  
  Returns
  
  dict
  Dictionary where the keys are the first couple and the values are all
  other columns in the script file
docstring_tokens: Parameters path : str Path to Kaldi script file Returns dict Dictionary where the keys are the first couple and the values are all other columns in the script file
code: def load_scp(path):
      """
      Load a Kaldi script file (.scp)
  
      See http://kaldi-asr.org/doc/io.html#io_sec_scp_details for more information
  
      Parameters
      ----------
      path : str
          Path to Kaldi script file
  
      Returns
      -------
      dict
          Dictionary where the keys are the first couple and the values are all
          other columns in the script file
  
      """
      scp = {}
      with open(path, 'r', encoding='utf8') as f:
          for line in f:
              line = line.strip()
              if line == '':
                  continue
              line_list = line.split()
              key = line_list.pop(0)
              if len(line_list) == 1:
                  value = line_list[0]
              else:
                  value = line_list
              scp[key] = value
      return scp
code_tokens: def load_scp ( path ) : scp = { } with open ( path , 'r' , encoding = 'utf8' ) as f : for line in f : line = line . strip ( ) if line == '' : continue line_list = line . split ( ) key = line_list . pop ( 0 ) if len ( line_list ) == 1 : value = line_list [ 0 ] else : value = line_list scp [ key ] = value return scp
short_docstring: Load a Kaldi script file (.scp)
  See http://kaldi-asr.org/doc/io.html#io_sec_scp_details for more information
short_docstring_tokens: Load a Kaldi script file ( . scp ) See http : // kaldi - asr . org / doc / io . html#io_sec_scp_details for more information
comment: """
      Load a Kaldi script file (.scp)
  
      See http://kaldi-asr.org/doc/io.html#io_sec_scp_details for more information
  
      Parameters
      ----------
      path : str
          Path to Kaldi script file
  
      Returns
      -------
      dict
          Dictionary where the keys are the first couple and the values are all
          other columns in the script file
  
      """