Skip to content
Snippets Groups Projects
Commit 7e7dc4f7 authored by Rawel's avatar Rawel
Browse files

added new print statement for debugging

parent bac54e10
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ class BagOfWords:
self.word_transformer = TfidfTransformer()
def load_bag_of_words(self):
print("Loading bag of words")
with open("words.txt", "r+") as w:
word_counts = self.word_vect.fit_transform(w)
self.word_transformer.fit_transform(word_counts)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment