Skip to content

Commit 33db700

Browse files
jeffnappiJeffrey Nappi
authored andcommitted
1 parent 7a75339 commit 33db700

4 files changed

Lines changed: 2207 additions & 1 deletion

File tree

goose/extractors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def calculate_best_node(self, article):
267267
if (nodes_number - i) <= bottom_negativescore_nodes:
268268
booster = float(bottom_negativescore_nodes - (nodes_number - i))
269269
boost_score = float(-pow(booster, float(2)))
270-
negscore = -abs(boost_score) + negative_scoring
270+
negscore = abs(boost_score) + negative_scoring
271271
if negscore > 40:
272272
boost_score = float(5)
273273

0 commit comments

Comments
 (0)