···11+diff --git a/unidic/download.py b/unidic/download.py22+index 445ce55..d488bd6 10064433+--- a/unidic/download.py44++++ b/unidic/download.py55+@@ -6,6 +6,8 @@ import sys66+ from wasabi import msg77+ from urllib.request import urlretrieve88+ from tqdm import tqdm99++from platformdirs import user_cache_dir1010++from pathlib import Path1111+1212+ # This is used to show progress when downloading.1313+ # see here: https://github.com/tqdm/tqdm#hooks-and-callbacks1414+@@ -56,7 +58,8 @@ def download_and_clean(version, url, dirname='unidic', delfiles=[]):1515+ This downloads the zip file from the source, extracts it, renames the1616+ resulting directory, and removes large files not used at runtime. 1717+ """1818+- cdir = os.path.dirname(os.path.abspath(__file__))1919++ cdir = Path(user_cache_dir('unidic-py'))2020++ cdir.mkdir(parents=True, exist_ok=True)2121+ fname = os.path.join(cdir, 'unidic.zip')2222+ print("Downloading UniDic v{}...".format(version), file=sys.stderr)2323+ download_progress(url, fname)