I am trying to do a lexicon based sentiment analysis on my data, where I calculate the sentiment score as follows:
$$ Score = \frac{\sum_{i}{word_i}}{\mid words \mid} $$
So according to the score the word will be classified in either negative or positive. But I have also calculated for every word in the article its salience and frequency:
words | salience | frequency |
---|---|---|
sad | 0.8 | 3 |
happy | 0.5 | 2 |
Is it possible to use them in my sentiment analysis formula?