From 2d821f4ff808027a67da6548cba6bedc4b69bb62 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 28 Mar 2026 11:18:21 +0100 Subject: Use punkt_tab instead of punkt. See https://openillumi.com/en/en-nltk-punkt-tab-lookuperror-fix/ --- more_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'more_functions.py') diff --git a/more_functions.py b/more_functions.py index 0c7fbd4..4261692 100755 --- a/more_functions.py +++ b/more_functions.py @@ -184,6 +184,6 @@ print(f" pubmed_path={pubmed_path}") if not os.path.isdir(pubmed_path): print(f"ERROR: EDIRECT_PUBMED_MASTER directory not found: {pubmed_path}") raise SystemExit(1) -if not os.path.isdir(os.path.join(pubmed_path, "Archive")): +if not os.path.isdir(os.path.join(pubmed_path, "PubMed", "Archive")): print(f"ERROR: PubMed/Archive not found in {pubmed_path}") raise SystemExit(1) -- cgit 1.4.1