class_docstr: A class to keep the Vader lists and constants.
docstr: Check if the preceding words increase, decrease, or negate/nullify the
  valence
docstr_tok: ["Check","if","the","preceding","words","increase",",","decrease",",","or","negate\/nullify","the","valence"]
code: def scalar_inc_dec(self, word, valence, is_cap_diff):
      """
      Check if the preceding words increase, decrease, or negate/nullify the
      valence
      """
      scalar = 0.0
      word_lower = word.lower()
      if word_lower in self.BOOSTER_DICT:
          scalar = self.BOOSTER_DICT[word_lower]
          if valence < 0:
              scalar *= -1
          # check if booster/dampener word is in ALLCAPS (while others aren't)
          if word.isupper() and is_cap_diff:
              if valence > 0:
                  scalar += self.C_INCR
              else:
                  scalar -= self.C_INCR
      return scalar
  
imports: import math
  import re
  import string
  from itertools import product
  import nltk.data
  from nltk.util import pairwise
label_desc: Use image node_id 4 for calling the VaderConstants obj's underlying member method code with example usage: obj.scalar_inc_dec(word, valence, is_cap_diff) and returns: scalar