this post was submitted on 04 Dec 2023
887 points (97.9% liked)
Technology
59312 readers
5184 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, but it turns into a Scunthorpe problem
There's always some new way to break it.
Well that's an easy problem to solve by not being a useless programmer.
You'd think so, but it's just not. Pretend "Gamer" is a slur. I can type it "G A M E R", I can type it "GAm3r", I can type it "GMR", I can mix and match. It's a never ending battle.
That's because regular expressions are a terrible way to try and solve the problem. You don't do exact tracking matching you do probabilistic pattern matching and then if the probability of something exceeds a certain preset value then you block it then you alter the probability threshold on the frequency of the comment coming up in your data set. Then it's just a matter of massaging your probability values.
A useless comment by a useless person who's never touched code in their life.