From 6f21e0d4e91c5f6cb6db90c4629e0cdea8183cec Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Sat, 24 Dec 2022 10:48:09 -0800 Subject: [PATCH] Remove debug print lines from compiler --- gptc/compiler.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gptc/compiler.py b/gptc/compiler.py index e2ab349..7eedb15 100755 --- a/gptc/compiler.py +++ b/gptc/compiler.py @@ -53,8 +53,6 @@ def compile( else: word_counts[word] = {category: 1} - print("counted") - model: Dict[int, List[int]] = {} for word, counts in word_counts.items(): if sum(counts.values()) >= min_count: @@ -70,5 +68,4 @@ def compile( ) model[word] = new_weights - print("weighted") return gptc.model.Model(model, names, max_ngram_length)