Questions tagged [sentiment-analysis]

Sentiment analysis refers to categorizing some given data as to what sentiment(s) it expresses. Usually, it refers to extracting sentiment from text, e.g. tweets or blog posts.

2020 questions
10
votes
2 answers

Sentiment Analysis on LARGE collection of online conversation text

The title says it all; I have an SQL database bursting at the seams with online conversation text. I've already done most of this project in Python, so I would like to do this using Python's NLTK library (unless there's a strong reason not to). The…
araisbec
  • 1,223
  • 3
  • 16
  • 27
10
votes
4 answers

Seed data for sentiment analysis

I'm playing around with sentiment analysis, and I'm looking for some seed data. Is there a free dictionary around? It can be really simple: 3 sets of texts/sentences, for "positive", "negative", "neutral". It doesn't have to be huge. Eventually…
Ken
  • 5,337
  • 3
  • 28
  • 19
9
votes
3 answers

Negation handling in sentiment analysis

I am in need of a little help here, I need to identify the negative words like "not good","not bad" and then identify the polarity (negative or positive) of the sentiment. I did everything except handling the negations. I just want to know how I can…
user1565960
  • 221
  • 2
  • 3
  • 5
9
votes
4 answers

Is there any other package other than "sentiment" to do Sentiment Analysis in R?

The "sentiment" package in R was removed from the Cran repository. What are the other packages which can do Sentiment Analysis? For example, how I can rewrite this using other packages? library(sentiment) # CLASSIFY…
user1946217
  • 1,733
  • 6
  • 31
  • 40
8
votes
1 answer

How I can start building wordnet for Turkish language to use in sentiment analysis

Although I hold EE background, I didn't get chance to attend Natural Language processing classes. I would like to build sentiment analysis tool for Turkish language. I think it is best to create a Turkish wordnet database rather than translating…
met.in
  • 173
  • 1
  • 9
8
votes
3 answers

ValueError: not enough values to unpack (expected 3, got 2)

first time posting a question so go easy on me. I found some code online that i am trying to implement myself though i keep coming across this error ValueError: not enough values to unpack (expected 3, got 2) the code is as follows: for…
Nick Gollcher
  • 81
  • 1
  • 2
8
votes
2 answers

NLTK convert tokenized sentence to synset format

I'm looking to get the similarity between a single word and each word in a sentence using NLTK. NLTK can get the similarity between two specific words as shown below. This method requires that a specific reference to the word is given, in this case…
Gunther
  • 2,474
  • 4
  • 31
  • 45
8
votes
2 answers

Code example for Sentiment Analysis for Asian languages - Python NLTK

There is a demo on sentiment analysis with NLTK (python) here http://text-processing.com/demo/sentiment/. And also the tutorials on the parts of sentiment…
alvas
  • 115,346
  • 109
  • 446
  • 738
7
votes
4 answers

Is it possible to do sentiment analysis of unlabelled text using word2vec model?

I have some text data for which I need to do sentiment classification. I don't have positive or negative labels on this data (unlabelled). I want to use the Gensim word2vec model for sentiment classification. Is it possible to do this? Because till…
Piyush Ghasiya
  • 515
  • 7
  • 25
7
votes
4 answers

Sentiment analysis api/tool, for Java

I'm writing a Java program and need to analyze small chunks of text (3-4 sentences, news articles paraphrased) for their sentiment. I just need to know whether the article is generally positive, negative or neutral. For example, the following would…
Jon Cox
  • 10,622
  • 22
  • 78
  • 123
7
votes
5 answers

Sentiment analysis of non-English texts

I want to analyze sentiment of texts that are written in German. I found a lot of tutorials on how to do this with English, but I found none on how to apply it to different languages. I have an idea to use the TextBlob Python library to first…
warmspringwinds
  • 1,147
  • 2
  • 14
  • 31
7
votes
4 answers

Sentiment Analysis java Library

I have some unlabeled microblogging posts and I want to create a sentiment analysis module. To do this I have try Stanford library and Alchemy Api web service but the result it is not very good. For now I don't want training my classifier. So I…
7
votes
4 answers

Entity Recognition and Sentiment Analysis using NLP

So, this question might be a little naive, but I thought asking the friendly people of Stackoverflow wouldn't hurt. My current company has been using a third party API for NLP for a while now. We basically URL encode a string and send it over, and…
user3457860
  • 71
  • 1
  • 2
7
votes
4 answers

Sentiment analysis

while performing sentiment analysis, how can I make the machine understand that I'm referring apple (the iphone), instead of apple (the fruit)? Thanks for the advise !
pekky
  • 81
  • 3
7
votes
3 answers

sentiment analysis - wordNet , sentiWordNet lexicon

I need a list of positive and negative words with the weights assigned to words according to how strong and week they are. I have got : 1.) WordNet - It gives a + or - score for every word. 2.) SentiWordNet - Giving positive and negative values in…
Naveen
  • 773
  • 3
  • 17
  • 40