P
P
PippiLongstocking2021-04-16 21:14:51
Bots
PippiLongstocking, 2021-04-16 21:14:51

Moderation of messages in the chat - removal of narcoslang, what are the ready-made solutions?

Good afternoon!
I have a chat. The chat has a self-written bot with different features. The community has a large number of people who have been addicted to drugs. I would like to add a feature to the bot (written in python, but I can add a REST/gRPC/etc client to an external service), which will allow me to detect messages containing something about drugs and delete them, because seeing drug jokes, various references is extremely uncomfortable for those who have quit.

What are ready/good solutions? The chat is in Russian, which is why I'm asking here, not on stackoverflow
. I also don't really want an external service - the chat is closed, perhaps these messages that the bot will send via the API for verification will then pop up somewhere. But a proprietary/binary solution that can be run locally is fine, if not too expensive

A bicycle written by yourself will also work, but I would like to know how to write it correctly. For example, where can I get a dataset with slang?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2021-04-16
@hottabxp

1) There are most likely no ready-made good solutions, since the task is highly specialized.
2) In principle, there can be no ready-made solutions, because, firstly, drug addicts can use words that are quite usual for us, but they will mean something completely different. Secondly, every day they come up with new words to encrypt with each other.
Wiktionary - Drug addict
slang

Hairdryer, Vasya, Vitya, Pharmacy, Atom, Dima, Stone, Solid, Medicine, Moscow, Sugar ...

Now try to figure out...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question