class_docstr: The virtual base class for nlp datasets, such TextClassificationDataset, SeqLabelingDataset, and so on.
  The base class must be supered and re-implemented the method _read_file.
class_docstr_tok: ["The","virtual","base","class","for","nlp","datasets",",","such","TextClassificationDataset",",","SeqLabelingDataset",",","and","so","on",".","The","base","class","must","be","supered","and","re-implemented","the","method","_read_file","."]
docstr: Downloads dataset and uncompresses it.
  Args:
     destination (:obj:`str`): The dataset cached directory.
     url (:obj: str): The link to be downloaded a dataset.
docstr_tok: ["Downloads","dataset","and","uncompresses","it",".","Args",":","destination","(",":","obj",":","`","str","`",")",":","The","dataset","cached","directory",".","url","(",":","obj",":","str",")",":","The","link","to","be","downloaded","a","dataset","."]
code: def _download_and_uncompress_dataset(
      self, destination: str, url: str
  ):
      """
      Downloads dataset and uncompresses it.
      Args:
         destination (:obj:`str`): The dataset cached directory.
         url (:obj: str): The link to be downloaded a dataset.
      """
      if not os.path.exists(destination):
          dataset_package = download(url=url, path=DATA_HOME)
          if is_xarfile(dataset_package):
              unarchive(dataset_package, DATA_HOME)
      else:
          logger.info("Dataset {} already cached.".format(destination))
  
imports: import csv
  import io
  import os
  from typing import Dict, List, Optional, Union, Tuple
  import numpy
  import paddle
  import paddlenlp
  from packaging.version import Version
  from paddlehub.env import DATA_HOME
  from paddlenlp.transformers import PretrainedTokenizer
  from paddlenlp.data import JiebaTokenizer
  from paddlehub.utils.log import logger
  from paddlehub.utils.utils import download, reseg_token_label, pad_sequence, trunc_sequence
  from paddlehub.utils.xarfile import is_xarfile, unarchive
label_desc: Use image node_id 3 for calling the BaseNLPDataset obj's underlying member method code with example usage: obj._download_and_uncompress_dataset(destination, url) without return types