senti-wordnet

Using Sentiwordnet 3.0

回眸只為那壹抹淺笑 提交于 2019-12-21 02:22:22
问题 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 adverbs? Im assuming 'a' is adjectives. I could not find an explanation either on their site or on other sites. 回答1: I found the answer. Seems like the number notation comes form Wordnet. It represents the rank in which the given word is commonly used.

to find the opinion of a sentence as positive or negative

六月ゝ 毕业季﹏ 提交于 2019-12-08 04:00:59
问题 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 file tagged=nltk.pos_tag(tokens) #for POSTagging print tagged Is there any other accurate way of tokenizing which considers not good as 1 word other than considering it as 2 separate words. Now i have to give postive and negative score to the tokenized words and then

to find the opinion of a sentence as positive or negative

浪子不回头ぞ 提交于 2019-12-06 15:46:08
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 file tagged=nltk.pos_tag(tokens) #for POSTagging print tagged Is there any other accurate way of tokenizing which considers not good as 1 word other than considering it as 2 separate words. Now i have to give postive and negative score to the tokenized words and then calculate the total score. Is there any function in sentiwordnet for this. please help. See First Extract

Using Sentiwordnet 3.0

孤街醉人 提交于 2019-12-03 08:07:17
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 adverbs? Im assuming 'a' is adjectives. I could not find an explanation either on their site or on other sites. I found the answer. Seems like the number notation comes form Wordnet. It represents the rank in which the given word is commonly used. So rank#5 refers to the context in which rank is used 5th most commonly. Similarly rank#1 refers to the