Remove debug print lines from compiler

This commit is contained in:
Samuel Sloniker 2022-12-24 10:48:09 -08:00
parent 41bba61410
commit 6f21e0d4e9
Signed by: kj7rrv
GPG Key ID: 1BB4029E66285A62

View File

@ -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)