lib/opener/opinion_detector_basic/kaf/term.rb
##
# Returns the strength of the term depending on its type.
#
# @return [Integer]
#
Returns the strength of the term depending on its type.
Returns the strength of the term depending on its type .
def strength
          return  1 if polarity == 'positive'
          return -1 if polarity == 'negative'
          return  2 if is_intensifier?
          return -1 if is_shifter?
          return  0
        end
def strength return 1 if polarity == 'positive' return - 1 if polarity == 'negative' return 2 if is_intensifier? return - 1 if is_shifter? return 0 end
Returns the strength of the term depending on its type.
Returns the strength of the term depending on its type .
None
Integer