class_docstr: *Fluent Speech Commands* :cite:`fluent` dataset
  
  Args:
      root (str of Path): Path to the directory where the dataset is found.
      subset (str, optional): subset of the dataset to use.
          Options: [``"train"``, ``"valid"``, ``"test"``].
          (Default: ``"train"``)
class_docstr_tok: ["*","Fluent","Speech","Commands","*",":","cite",":","`","fluent","`","dataset","Args",":","root","(","str","of","Path",")",":","Path","to","the","directory","where","the","dataset","is","found",".","subset","(","str",",","optional",")",":","subset","of","the","dataset","to","use",".","Options",":","[","``","``","train","''","``",",","``","``","valid","''","``",",","``","``","test","''","``","]",".","(","Default",":","``","``","train","''","``",")"]
docstr: Get metadata for the n-th sample from the dataset. Returns filepath instead of waveform,
  but otherwise returns the same fields as :py:func:`__getitem__`.
  
  Args:
      n (int): The index of the sample to be loaded
  
  Returns:
      Tuple of the following items;
  
      str:
          Path to audio
      int:
          Sample rate
      str:
          File name
      int:
          Speaker ID
      str:
          Transcription
      str:
          Action
      str:
          Object
      str:
          Location
docstr_tok: ["Get","metadata","for","the","n-th","sample","from","the","dataset",".","Returns","filepath","instead","of","waveform",",","but","otherwise","returns","the","same","fields","as",":","py",":","func",":","`","__getitem__","`",".","Args",":","n","(","int",")",":","The","index","of","the","sample","to","be","loaded","Returns",":","Tuple","of","the","following","items",";","str",":","Path","to","audio","int",":","Sample","rate","str",":","File","name","int",":","Speaker","ID","str",":","Transcription","str",":","Action","str",":","Object","str",":","Location"]
code: def get_metadata(
      self, n: int
  ) -> Tuple[str, int, str, int, str, str, str, str]:
      """Get metadata for the n-th sample from the dataset. Returns filepath instead of waveform,
      but otherwise returns the same fields as :py:func:`__getitem__`.
  
      Args:
          n (int): The index of the sample to be loaded
  
      Returns:
          Tuple of the following items;
  
          str:
              Path to audio
          int:
              Sample rate
          str:
              File name
          int:
              Speaker ID
          str:
              Transcription
          str:
              Action
          str:
              Object
          str:
              Location
      """
      sample = self.data[n]
  
      file_name = sample[self.header.index("path")].split("/")[-1]
      file_name = file_name.split(".")[0]
      speaker_id, transcription, action, obj, location = sample[2:]
      file_path = os.path.join(
          "wavs", "speakers", speaker_id, f"{file_name}.wav"
      )
  
      return (
          file_path,
          SAMPLE_RATE,
          file_name,
          speaker_id,
          transcription,
          action,
          obj,
          location,
      )
  
file_path: audio/src/torchaudio/datasets/fluentcommands.py
imports: import csv
  import os
  from pathlib import Path
  from typing import Tuple, Union
  from torch import Tensor
  from torch.utils.data import Dataset
  from torchaudio.datasets.utils import _load_waveform
label_desc: Use image node_id 2 for calling the FluentSpeechCommands obj's underlying member method code with example usage: obj.get_metadata(n) and returns: file_path,  SAMPLE_RATE,  file_name,  speaker_id,  transcription,  action,  obj,  location