From 680de92deb051af1cd29b90594bfb2da02cc4438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Kripner?= Date: Wed, 27 Mar 2024 15:38:47 +0100 Subject: [PATCH] rouge-we: download via https. --- evaluation/summ_eval/rouge_we_metric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluation/summ_eval/rouge_we_metric.py b/evaluation/summ_eval/rouge_we_metric.py index 38506b2..07e7c75 100644 --- a/evaluation/summ_eval/rouge_we_metric.py +++ b/evaluation/summ_eval/rouge_we_metric.py @@ -14,7 +14,7 @@ os.mkdir(os.path.join(dirname, "embeddings")) if not os.path.exists(os.path.join(dirname, "embeddings/deps.words")): print("Downloading the embeddings; this may take a while") - url = "http://u.cs.biu.ac.il/~yogo/data/syntemb/deps.words.bz2" + url = "https://u.cs.biu.ac.il/~yogo/data/syntemb/deps.words.bz2" r = requests.get(url) d = bz2.decompress(r.content) with open(os.path.join(dirname, "embeddings/deps.words"), "wb") as outputf: