sgnlp.models.sentic_gcn.utils.download_url_file

download_url_file(url: str, save_folder: Union[str, pathlib.Path])None[source]

Helper method to download and save url file.

Parameters
  • url (str) – Url of file to download.

  • save_folder (Union[str, pathlib.Path]) – Folder to save downloaded file. Will be created if it does not exists.