Created
March 13, 2021 13:59
-
-
Save vncsna/3e02783f0d3cae42d3f25832e1e67745 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
vectorizer = TfidfVectorizer(analyzer='word') | |
x = vectorizer.fit_transform(corpus) | |
'Corpus: ' + ' '.join(vectorizer.get_feature_names()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment