Has anyone run into issues using nltk in CoLabs?
I was trying to run the following code:
stopwords = stopwords.words('english'); stemmer = PorterStemmer()
And I have already run
!pip install nltk, and the code below:
# Text Preprocessing import nltk from nltk.corpus import stopwords from nltk.stem import PorterStemmer from nltk.tokenize import TweetTokenizer nltk.download('stopwords'); from nltk.corpus import twitter_samples import string import re import pickle
Any suggestions? Thanks!