We already have spam filters, as for swearing, mods are active most of the time and incase they are not, you can take screenshots of rule breakers and report them.
And about the system you're suggesting, we had that before but it wasn't fully accurate so was removed.