Skip to content

Instantly share code, notes, and snippets.

View hugoncosta's full-sized avatar

Hugo Costa hugoncosta

  • Amazon
  • Luxembourg
View GitHub Profile
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')