Questions tagged [senti-wordnet]
31 questions
6
votes
4 answers
sentiwordnet scoring with python
I have been working on a research in relation with twitter sentiment analysis. I have a little knowledge on how to code on Python. Since my research is related with coding, I have done some research on how to analyze sentiment using Python, and the…

pechdara
- 61
- 1
- 1
- 4
6
votes
1 answer
Using Sentiwordnet 3.0
I plan on using Sentiwordnet 3.0 for Sentiment classification. Could someone clarify as to what the numbers associated with words in Sentiwordnet represent? For e.g. what does 5 in rank#5 mean? Also for POS what is the letter used to represent…

Amal Antony
- 6,477
- 14
- 53
- 76
5
votes
1 answer
Defining WordNetError
I have a list of terms in a sentence with sentiwordnet parts-of-speech, which I am attempting to sum over to find the net sentiment:
from nltk.corpus import sentiwordnet as swn, wordnet
score = 0
for term in terms:
…

user3058703
- 571
- 1
- 8
- 22
4
votes
2 answers
Usage of nltk Sentiwordnet with python
I am doing sentiment analysis on twitter data using python NLTK. I need a dictionary which contains +ve and -ve polarities of words. I have read so much stuff regarding sentiwordnet but when I am using it for my project it is not giving efficient…

jeny
- 41
- 1
- 1
- 3
2
votes
1 answer
Extract positive and negative words from text?
I need to find the opinion of certain reviews given in websites. I am using sentiwordnet for this. I first send the file containing all the reviews to POS Tagger.
Is there any other accurate way of tokenizing which considers not good as 1 word other…

eman
- 33
- 1
- 5
2
votes
0 answers
NLP Algorithm for calculating urgency_intensity for a text fragment
I want to calculate score of urgency for a text fragment, Like SentiWordnet provides scores for words for sentiment polarity. I want to tag text as High, Medium or Low on the basis of how urgent the request is. It seems classification will not serve…

Jyoti Gupta
- 79
- 4
2
votes
1 answer
What is the meaning of sense number in SentiWordNet?
I want to use SentiWordNet for my project and I could not figure out what does the sense number do? Here is a part of SentiWordNet's word list;
POS ID PosScore NegScore SynsetTerms Gloss
a 00002730 0 0 acroscopic#1 facing or on the…

Efe Büyük
- 135
- 1
- 3
- 13
2
votes
1 answer
to find the opinion of a sentence as positive or negative
i need to find the opinion of certain reviews given in websites. i am using sentiwordnet for this. i first send the file containing all the reviews to POS Tagger.
tokens=nltk.word_tokenize(line) #tokenization for line in…

Thirtha
- 111
- 1
- 2
- 10
2
votes
1 answer
AttributeError: 'function' object has no attribute 'lower'
I am trying to use sentiwordnet text file "SentiWordNet_3.0.0_20130122.txt". When I am importing the sentiwordnet.py file and attempting to run it I am getting the error as follows:
The error occured…

Anonymous
- 31
- 1
- 5
2
votes
1 answer
sentiWordNet in rapidminer
I am trying to integrate SentiWordNet into Rapidminer using the Extract Sentiment operator. I cannot find a way to get the dictionary input, in fact even if I use the OpenWordnetDictionary operator I get "Map failed" error.
Has anyone of you ever…

sam
- 23
- 3
2
votes
2 answers
R functions using SentiWordNet
I am doing sentiment analysis and text mining on an e-mail box dedicated for client feedback. I use R for this work. I based the sentiment analysis on the work done by Jeffrey Breen. It works fine but I want to take it a step further. During my…

Hein
- 33
- 1
- 4
1
vote
1 answer
NameError: name 'synset' is not defined
From previous question, I get this code
print("Array..............\n\n")
tagged=np.array(df['tagged_texts'])
temp = []
for x in tagged:
for y in x:
temp.append(y)
tagged = temp
print(tagged)
pos=neg=obj=count=0
for word, tag in…

Nadina
- 185
- 1
- 1
- 8
1
vote
1 answer
AttributeError: 'tuple' object has no attribute 'lower' sentiword
I try this code to calculate the sentiment using sentiword, I tried tokenization and pos tagging it works but when I tried this I get error…

Nadina
- 185
- 1
- 1
- 8
1
vote
2 answers
Accuracy of lexicon-based sentiment analysis
I'm performing different sentiment analysis techniques for a set of Twitter data I have acquired. They are lexicon based (Vader Sentiment and SentiWordNet) and as such require no pre-labeled data.
I was wondering if there was a method (like…

mitalip
- 11
- 3
1
vote
0 answers
How to get first synset from list of Sentiwordnet?
I have a review text and I want to define if it is positive or negative. I 'm using sentiwordnet for getting the score of each word in the review. My problem is since each word has multiple synset I want only the first one:
for…

Yousra Gad
- 363
- 3
- 15