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