-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Phrase not bad usually has neutral or even positive value. But gem doesn't think so 👎
=> analyzer = Sentimental.new
=> #<Sentimental:0x0055b27fc84830 @ngrams=1, @word_scores={}, @influencers={}, @threshold=0, @neutral_regexps=[]>
irb(main):064:0> analyzer.load_defaults
=> {"extremely"=>1.5, "really"=>1.25, "pretty"=>1.01}
irb(main):065:0> analyzer.threshold = 0.1
=> 0.1
irb(main):066:0> analyzer.score("not bad")
=> -1.3088
Nakilon, kieranklaassen and bettystegertheusernameisavailable
Metadata
Metadata
Assignees
Labels
No labels