R
R
Ruslan2017-01-13 10:51:08
Chats
Ruslan, 2017-01-13 10:51:08

How are chat filters for forbidden words made?

There is a general chat in the game. And there are a lot of forbidden words (mat, etc.) how to make a filter for such words with a minimum load and delays?
Forbidden words can be stored in a file or database.
The server has a beanstalkd task queue installed, it can handle it somehow.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan, 2017-01-14
@mitrm

For now I use this https://github.com/vearutop/php-obscene-censor-rus

A
axeax, 2017-01-13
@axeax

I made a regex based on roots like piz|her|mood, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question