---
title: "Discussion on \"Sentiment analysis using NLTK SentimentIntensityAnalyzer and SentiWordNet Lexicon\" | Hashnode"
description: "Discussion on \"Sentiment analysis using NLTK SentimentIntensityAnalyzer and SentiWordNet Lexicon\". Get dependencies:\nimport nltk\nnltk.download('punkt')\nnltk.download('averaged_perceptron_tagger')\nnltk.download('wordnet')\n\nAnalyze text:\nimport nltk\nfrom nltk.corpus import sentiwordnet as swn\nfrom nltk.sentiment import SentimentIntensityAnalyzer\n\nnl..."
url: "https://hashnode.com/posts/sentiment-analysis-using-nltk-sentimentintensityanalyzer-and-sentiwordnet-lexicon/65e76ba4cb03d17fff3fa7c0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Sentiment analysis using NLTK SentimentIntensityAnalyzer and SentiWordNet Lexicon](https://textlab.razzi.my/sentiment-analysis-using-nltk-sentimentintensityanalyzer-and-sentiwordnet-lexicon?utm_source=hashnode&utm_medium=feed)

Get dependencies: import nltk nltk.download('punkt') nltk.download('averaged\_perceptron\_tagger') nltk.download('wordnet') Analyze text: import nltk from nltk.corpus import sentiwordnet as swn from nltk.sentiment import SentimentIntensityAnalyzer nl...

Mar 5, 2024 · 2 min read · textlab.razzi.my  
Read the article

-   [#sentiwordnet](https://hashnode.com/tag/sentiwordnet)
-   [#sentiment-intensity-analyzer](https://hashnode.com/tag/sentiment-intensity-analyzer)

## Written by

[Mohamad Mahmood](https://hashnode.com/@mohamadrazzimy)

@mohamadrazzimy · Kuala Lumpur, Malaysia

  
[View profile](https://hashnode.com/@mohamadrazzimy)

Programming (Mobile, Web, Database and Machine Learning). Studying at the Center For Artificial Intelligence Technology (CAIT), FTSM, UKM MY

Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He is studying at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
