Instalando o NLTK no Raspberry

5 de agosto de 2022 Off Por Marcelo Martins

Instale o python 3.7

Em seguida instale o pip3

Em seguida instale o nltk

pip3 install nltk

Pacotes auxiliares

  • pip3 install stopwords
  • pip3 install PorterStemmer
  • pip3 install WordNetLemmatizer
  • pip3 install SnowballStemmer
  • pip3 install LancasterStemmer
  • pip3 install word_tokenize
  • pip3 install sent_tokenize
  • pip3 install pos_tag
  • pip3 install pos_tag_sents
  • pip3 install string

No python3 rode estes

  • import nltk
  • nltk.download(“stopwords”)
  • nltk.download(“punkt”)
  • nltk.download(“tagsets”)
  • nltk.download(“wordnet”)
  • nltk.download(“averaged_perceptron_tagger”)
  • nltk.download(“maxent_ne_chunker”)
  • nltk.download(“words”)