From d61746c9f7421452aa950e29225252f16909c40c Mon Sep 17 00:00:00 2001 From: Nathan TeBlunthuis Date: Sun, 1 Dec 2024 13:58:13 -0800 Subject: [PATCH] make the output authors path. --- ngrams/term_frequencies.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ngrams/term_frequencies.py b/ngrams/term_frequencies.py index 30ad5eb..f901906 100755 --- a/ngrams/term_frequencies.py +++ b/ngrams/term_frequencies.py @@ -195,6 +195,7 @@ def weekly_tf(partition, outchunksize = 100000 Path(output_terms_path).mkdir(parents=True, exist_ok=True) + Path(output_authors_path).mkdir(parents=True, exist_ok=True) if limit is not None: n_lines_out = 0