HanLP = hanlp.load(‘model/hanlp/close_tok_pos_ner_srl_dep_sdp_con_electra_small_20220626_175100’),
在指定本地NER模型后,还会自动下载另外的文件,我不想让他下载到我的用户路径
Downloading https://file.hankcs.com/hanlp/transformers/electra_zh_small_20210706_125427.zip to C:\Users\xxx\AppData\Roaming\hanlp\transformers/electra_zh_small_20210706_125427.zip
100% 41.2 KiB 41.2 KiB/s ETA: 0 s [=========================================]
Decompressing C:\Users\q00800029\AppData\Roaming\hanlp\transformers/electra_zh_small_20210706_125427.zip to C:\Users\q00800029\AppData\Roaming\hanlp\transformers
Downloading https://file.hankcs.com/hanlp/utils/char_table_20210602_202632.json.zip to C:\Users\xxx\AppData\Roaming\hanlp\utils/char_table_20210602_202632.json.zip
100% 26.7 KiB 26.7 KiB/s ETA: 0 s [=========================================]
Decompressing C:\Users\xxx\AppData\Roaming\hanlp\utils/char_table_20210602_202632.json.zip to C:\Users\xxx\AppData\Roaming\hanlp\utils
请问如何避免自动下载别的文件,这两个下载的文件路径如何才能指定?