def METHOD_NAME(self, item):
    for word in item["ref"].lower().split("-"):
        if cat := self.categories.get(word):
            apply_category(cat, item)
            return
    self.logger.warn("no category for %s", item["website"])