"adding weight to tokens"
just like many other people I am trying to do very simple sentiment analysis of my texts
I have done everything other people did and I have a list of tokens for each text
what I would like is to add value to each token, which means that I have dictionary (similar to sentiwordnet) which have my words/tokens and their positive or negative value
so I need a way on how to compare my tokens with a dictionary and then multiply number of token is mentioned with positive/negative value
in the end I would take all of the positive values and all negative values and add them up
is there a way to do that (I have really tried but I can not seem to find a way to make this relation)? any pointer on how to do it will be nice
(and no, sentiwordnet is not applicable since we are talking about different language)
I have done everything other people did and I have a list of tokens for each text
what I would like is to add value to each token, which means that I have dictionary (similar to sentiwordnet) which have my words/tokens and their positive or negative value
so I need a way on how to compare my tokens with a dictionary and then multiply number of token is mentioned with positive/negative value
in the end I would take all of the positive values and all negative values and add them up
is there a way to do that (I have really tried but I can not seem to find a way to make this relation)? any pointer on how to do it will be nice
(and no, sentiwordnet is not applicable since we are talking about different language)
Find more posts tagged with
Comments
No comments on this post.