My budgeting app (Monarch) has a system with a lot of parallels. It tries to automatically profile your transactions into a sensible category based on the statement text, and also allows you to set up persistent rules on top to categories it may have messed up. It still has a “we couldn’t categorize this, please help” list it gives you, but I find its recommendations fairly good and I get maybe one transaction a month it can’t figure out.