class_docstr: *QUESST14* :cite:`Mir2015QUESST2014EQ` dataset.
  
  Args:
      root (str or Path): Root directory where the dataset's top level directory is found
      subset (str): Subset of the dataset to use. Options: [``"docs"``, ``"dev"``, ``"eval"``].
      language (str or None, optional): Language to get dataset for.
          Options: [``None``, ``albanian``, ``basque``, ``czech``, ``nnenglish``, ``romanian``, ``slovak``].
          If ``None``, dataset consists of all languages. (default: ``"nnenglish"``)
      download (bool, optional): Whether to download the dataset if it is not found at root path.
          (default: ``False``)
class_docstr_tok: ["*","QUESST14","*",":","cite",":","`","Mir2015QUESST2014EQ","`","dataset",".","Args",":","root","(","str","or","Path",")",":","Root","directory","where","the","dataset","'s","top","level","directory","is","found","subset","(","str",")",":","Subset","of","the","dataset","to","use",".","Options",":","[","``","``","docs","''","``",",","``","``","dev","''","``",",","``","``","eval","''","``","]",".","language","(","str","or","None",",","optional",")",":","Language","to","get","dataset","for",".","Options",":","[","``","None","``",",","``","albanian","``",",","``","basque","``",",","``","czech","``",",","``","nnenglish","``",",","``","romanian","``",",","``","slovak","``","]",".","If","``","None","``",",","dataset","consists","of","all","languages",".","(","default",":","``","``","nnenglish","''","``",")","download","(","bool",",","optional",")",":","Whether","to","download","the","dataset","if","it","is","not","found","at","root","path",".","(","default",":","``","False","``",")"]
code: def __init__(
      self,
      root: Union[str, Path],
      subset: str,
      language: Optional[str] = "nnenglish",
      download: bool = False,
  ) -> None:
      if subset not in ["docs", "dev", "eval"]:
          raise ValueError(
              "`subset` must be one of ['docs', 'dev', 'eval']"
          )
  
      if language is not None and language not in _LANGUAGES:
          raise ValueError(
              f"`language` must be None or one of {str(_LANGUAGES)}"
          )
  
      # Get string representation of 'root'
      root = os.fspath(root)
  
      basename = os.path.basename(URL)
      archive = os.path.join(root, basename)
  
      basename = basename.rsplit(".", 2)[0]
      self._path = os.path.join(root, basename)
  
      if not os.path.isdir(self._path):
          if not os.path.isfile(archive):
              if not download:
                  raise RuntimeError(
                      "Dataset not found. Please use `download=True` to download"
                  )
              download_url_to_file(URL, archive, hash_prefix=_CHECKSUM)
          _extract_tar(archive, root)
  
      if subset == "docs":
          self.data = filter_audio_paths(
              self._path, language, "language_key_utterances.lst"
          )
      elif subset == "dev":
          self.data = filter_audio_paths(
              self._path, language, "language_key_dev.lst"
          )
      elif subset == "eval":
          self.data = filter_audio_paths(
              self._path, language, "language_key_eval.lst"
          )
  
file_path: audio/src/torchaudio/datasets/quesst14.py
imports: import os
  import re
  from pathlib import Path
  from typing import Optional, Tuple, Union
  import torch
  from torch.utils.data import Dataset
  from torchaudio._internal import download_url_to_file
  from torchaudio.datasets.utils import _extract_tar, _load_waveform
label_desc: Use image node_id 1 to create a new QUESST14 object from inherited base classes: Dataset with example: obj = QUESST14(root, subset, language, download)