Adding priority to single-word tags when resorting tags

This commit is contained in:
Level Pixel Dev
2025-02-09 05:38:16 +06:00
parent 993ebfd6aa
commit 910a6c33e3
+3
View File
@@ -436,6 +436,9 @@ def update_scores(scores, text, base, bonus_first, bonus_4_10, include_new=True)
else:
points = base
if len(tag.split()) == 1:
points += 1
if tag in scores:
scores[tag] += points
else: