Skip to content

Commit 5329594

Browse files
committed
update
1 parent ec3d034 commit 5329594

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nlp_class2/tfidf_tsne.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def main():
4545
for w in word_list:
4646
if w not in word2idx:
4747
print("%s not found in vocab, remove it from \
48-
analogies to try or increase vocab size")
48+
analogies to try or increase vocab size" % w)
4949
notfound = True
5050
if notfound:
5151
exit()
@@ -57,6 +57,7 @@ def main():
5757

5858
# create raw counts first
5959
A = np.zeros((V, N))
60+
print("V:", V, "N:", N)
6061
j = 0
6162
for sentence in sentences:
6263
for i in sentence:

0 commit comments

Comments
 (0)