Skip to content

Commit

Permalink
print corpora
Browse files Browse the repository at this point in the history
  • Loading branch information
imdiptanu committed May 4, 2021
1 parent a93e5d9 commit 1fb37cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc2topic/corpora.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ def prepare(self, replace=False, with_generator=False):
self.input_tokens = np.array(self.input_tokens, dtype="int32")
self.outputs = np.array(self.outputs)

print(self.input_docs)
print(self.input_tokens)
print(self.outputs)

#self.idx2token = dict([(i,t) for t,i in self.token2idx.items()])
if replace:
del self.docs
Expand Down

0 comments on commit 1fb37cd

Please sign in to comment.