class_docstr: *LJSpeech-1.1* :cite:`ljspeech17` dataset.
  
  Args:
      root (str or Path): Path to the directory where the dataset is found or downloaded.
      url (str, optional): The URL to download the dataset from.
          (default: ``"https://data.keithito.com/data/speech/LJSpeech-1.1.tar.bz2"``)
      folder_in_archive (str, optional):
          The top-level directory of the dataset. (default: ``"wavs"``)
      download (bool, optional):
          Whether to download the dataset if it is not found at root path. (default: ``False``).
class_docstr_tok: ["*","LJSpeech-1.1","*",":","cite",":","`","ljspeech17","`","dataset",".","Args",":","root","(","str","or","Path",")",":","Path","to","the","directory","where","the","dataset","is","found","or","downloaded",".","url","(","str",",","optional",")",":","The","URL","to","download","the","dataset","from",".","(","default",":","``","``","https",":","\/\/data.keithito.com\/data\/speech\/LJSpeech-1.1.tar.bz2","''","``",")","folder_in_archive","(","str",",","optional",")",":","The","top-level","directory","of","the","dataset",".","(","default",":","``","``","wavs","''","``",")","download","(","bool",",","optional",")",":","Whether","to","download","the","dataset","if","it","is","not","found","at","root","path",".","(","default",":","``","False","``",")","."]
code: def _parse_filesystem(
      self, root: str, url: str, folder_in_archive: str, download: bool
  ) -> None:
      root = Path(root)
  
      basename = os.path.basename(url)
      archive = root / basename
  
      basename = Path(basename.split(".tar.bz2")[0])
      folder_in_archive = basename / folder_in_archive
  
      self._path = root / folder_in_archive
      self._metadata_path = root / basename / "metadata.csv"
  
      if download:
          if not os.path.isdir(self._path):
              if not os.path.isfile(archive):
                  checksum = _RELEASE_CONFIGS["release1"]["checksum"]
                  download_url_to_file(
                      url, archive, hash_prefix=checksum
                  )
              _extract_tar(archive)
      else:
          if not os.path.exists(self._path):
              raise RuntimeError(
                  f"The path {self._path} doesn't exist. "
                  "Please check the ``root`` path or set `download=True` to download it"
              )
  
      with open(self._metadata_path, "r", newline="") as metadata:
          flist = csv.reader(
              metadata, delimiter="|", quoting=csv.QUOTE_NONE
          )
          self._flist = list(flist)
  
file_path: audio/src/torchaudio/datasets/ljspeech.py
imports: import csv
  import os
  from pathlib import Path
  from typing import Tuple, Union
  import torchaudio
  from torch import Tensor
  from torch.utils.data import Dataset
  from torchaudio._internal import download_url_to_file
  from torchaudio.datasets.utils import _extract_tar
label_desc: Use image node_id 2 for calling the LJSPEECH obj's underlying member method code with example usage: obj._parse_filesystem(root, url, folder_in_archive, download) without return types