Created
April 15, 2019 02:55
-
-
Save sergioprates/39fffd4f6cde8974624c80e5ab534739 to your computer and use it in GitHub Desktop.
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
from sklearn.feature_extraction.text import CountVectorizer | |
vect = CountVectorizer(ngram_range=(1, 1)) | |
vect.fit(df.text_pt) | |
text_vect = vect.transform(df.text_pt) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment