Example #1
0
 private static double CalculateNegativeValance(WordScore word)
 {
     return(word.Afraid
            + word.Sad
            + word.Angry
            + word.Annoyed);
 }
Example #2
0
 private static double CalculateNegativeArousal(WordScore word)
 {
     return(word.Sad
            + word.DontCare);
 }
Example #3
0
 private static double CalculatePositiveArousal(WordScore word)
 {
     return(word.Inspired
            + word.Angry);
 }
Example #4
0
 private static double CalculatePositiveValance(WordScore word)
 {
     return(word.Happy
            + word.Amused
            + word.Inspired);
 }