Sentiment scores are measured in polarities, where -1 is negative, 0 is neutral and 1 is positive. These can be calculated in three ways:
Word count method
Sentence length method
Word count ratio method