Question

I am building a site that I plan on making family-friendly. What are some good strategies, besides active site admins, to making sure that usernames remain appropriate? I was considering a black-list of words, but I'm not sure if that is the most efficient approach. I believe that a combination of strategies will provide the best solution.

Was it helpful?

Solution

From algorithmic point of view most forums use something like checking against word-list, maybe regular expressions. You may look into e.g. open-source forum engines. And if there will be some code, hard to understand, asking about code here would be good question.

Anylisys of people's language is very hard task, not to say about determining, whether word is "bad". To whom? It's not an algorithm one may think out in 10-15 minutes and suggest here.

PS: I was an administrator on (vBulletin) forum with over 100k registrations for several years. There was word filter, but it'd be nothing w/o manual moderators' work.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top