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
import nltk | |
from nltk.corpus import stopwords | |
from nltk.stem import RSLPStemmer | |
from nltk.stem.wordnet import WordNetLemmatizer | |
# Download list | |
!wget https://github.com/michmech/lemmatization-lists/raw/master/lemmatization-pt.txt -q | |
nltk.download('stopwords') | |
nltk.download('rslp') |