diff --git a/categories.py b/categories.py index 70d079a78..9f7e0fe0b 100644 --- a/categories.py +++ b/categories.py @@ -170,7 +170,7 @@ def guessHashtagCategory(tagName: str, hashtagCategories: {}) -> str: for categoryStr, hashtagList in hashtagCategories.items(): for hashtag in hashtagList: - if len(hashtag) < 3: + if len(hashtag) < 4: # avoid matching very small strings which often # lead to spurious categories continue