Created
August 7, 2021 16:07
-
-
Save Yuktha-Majella/a7a3773a8c6189f9b23fccadbe4784cd to your computer and use it in GitHub Desktop.
Creating BOW in gensim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g_bow =[g_dict1.doc2bow(token, allow_update = True) for token in tokens1] | |
print("Bag of Words : ", g_bow) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment