Author Topic: Profanity filter  (Read 423 times)

Offline luke

  • ~evil~
  • Contributor
  • MonsterKill Member
  • *
  • Topic Author
  • Posts: 3741
  • Country: de
  • Karma: +478/-236
  • Awards Warlock Tour Winner [RARE] Pudge Wars Tournament Winner [RARE] Hacks staff member [RARE] Shadow Raze Tour Award [RARE] Best B&U mod of the month 3 times in a row [EPIC] 3rd Place Admins Cup [EPIC] Uther Party Tournament Winner [COMMON]
    • View Profile
    • Awards
Profanity filter
« on: March 15, 2020, 15:27 »
I know idea isn't new but maybe good idea to use it.

Can be implemented very simple with regular expressions

Lagabuse bot already has input filtering, you just need a list of swear words transformed into regular expressions to match against each input line and just not show matching lines.

Maybe won't bring a lot but its easy and fast to do and can prevent unnecessary swearing since many type in rage and then regret

Offline Sejanus

  • Pro Member
  • *
  • Posts: 404
  • Country: gb
  • Karma: +43/-132
  • Awards Patreon Supporter [RARE]
    • View Profile
    • Awards
Re: Profanity filter
« Reply #1 on: March 15, 2020, 17:37 »
Communist...;)

What I mean is censorship is never the right thing to do.

Also flame is good, family flame. Isn't.
« Last Edit: March 16, 2020, 10:05 by Sejanus »

Offline Jimmy

  • Honored member
  • GodLike Member
  • *
  • Posts: 11534
  • Country: cs
  • Karma: +770/-522
  • (Retired) LA Clan Chieftain
  • Awards Best B&U mod of the month 5 times [LEGENDARY] MVP Member [LEGENDARY] LA High Staff [EPIC] Lagabuse Legend Advisor Winner of 5 Photoshop Challenge Contests [EPIC] IHRL Member [RARE] Best Tours mod of the month 3 times in a row [EPIC] VIP Member [EPIC] Contributor [COMMON] B&U staff member [RARE] Hacks staff member [RARE] Tours staff member [RARE] Forum staff member [RARE] Best Hacks Moderator of the month [RARE] GodLike Tournament Member [LEGENDARY] Best Tours mod of the month 5 times in a row [LEGENDARY] Tournaments Contribution [RARE] DotA 5v5 Tournament Winner [EPIC] Pudge Wars Tournament Winner [RARE]
    • View Profile
    • Awards
Re: Profanity filter
« Reply #2 on: March 15, 2020, 18:40 »
Communist...;)
@Sejanus
If you are posting in Official section , make your post related to the topic.
Section is opened for posting , but still is an Official section.
Make your posts relevant, this isnt Offtopic.

Offline AntlermanXXL

  • Deer
  • Contributor
  • Hero Member
  • *
  • Posts: 696
  • Country: ru
  • Karma: +169/-268
  • Server Account: deer-door
    PSR: Loading
    Games: Loading
    Wins/Loses: Loading/Loading
    Hero K/D/A: Loading
    Creep K/D/N: Loading
    Show/hide more stats
  • Awards Advisor Deer Member Contributor [COMMON]
    • View Profile
    • Awards
Re: Profanity filter
« Reply #3 on: March 18, 2020, 09:31 »
I did a large research about profanity filters in real games once and will reply in very short terms here

Most of simple solutions are very bad (for example, your regular expressions do not cover everything, has lots of false positives, hard to maintain, etc), most of them do not care about tricky obfuscation

There are paid solutions, entire services with advanced profanity filters (according to selected language corpus), then AI that detects hate speech, then, if 2 methods are failing, there is entire squad of real people who are handled those rare unsolved cases manually

It is possible to create such service ourselves, but it requires lots of resources
Considering we have a free-to-play service here, not enterprise one, - development will be very expensive compared to using paid profanity filter service for us

Or not using such filter at all;
Basic profanity filters are trash

Not deery at all
« Last Edit: March 18, 2020, 09:33 by AntlermanXXL »
https://www.twitch.tv/EvergreenDeer
http://www.youtube.com/user/AloneMonaX

Spoiler for Hiden:
10, 3rd places are mine, wew!

40:14 don_Kondo [Allies] olen olen
40:15 don_Kondo [Allies] olenishka
40:18 Hiatus [Allies] AHAH
40:21 don_Kondo [Allies] ya net olen
40:22 Hiatus [Allies] OLENISHKA
40:23 Hiatus [Allies] AHAHAH
40:25 don_Kondo [Allies] ya mala myshka
40:28 Hiatus [Allies] AHAHAHAH

Offline luke

  • ~evil~
  • Contributor
  • MonsterKill Member
  • *
  • Topic Author
  • Posts: 3741
  • Country: de
  • Karma: +478/-236
  • Awards Warlock Tour Winner [RARE] Pudge Wars Tournament Winner [RARE] Hacks staff member [RARE] Shadow Raze Tour Award [RARE] Best B&U mod of the month 3 times in a row [EPIC] 3rd Place Admins Cup [EPIC] Uther Party Tournament Winner [COMMON]
    • View Profile
    • Awards
Re: Profanity filter
« Reply #4 on: March 18, 2020, 14:56 »
So you are suggesting to make a AI model? We could  try this as well.

Also i didnt mean that it should cover everything, just most common flames is enough and it just skip lines, doesnt apply bans so false positives arent very big problem

Offline AntlermanXXL

  • Deer
  • Contributor
  • Hero Member
  • *
  • Posts: 696
  • Country: ru
  • Karma: +169/-268
  • Server Account: deer-door
    PSR: Loading
    Games: Loading
    Wins/Loses: Loading/Loading
    Hero K/D/A: Loading
    Creep K/D/N: Loading
    Show/hide more stats
  • Awards Advisor Deer Member Contributor [COMMON]
    • View Profile
    • Awards
Re: Profanity filter
« Reply #5 on: March 18, 2020, 15:00 »
Quote
So you are suggesting to make a AI model?
Did not suggest it
https://www.twitch.tv/EvergreenDeer
http://www.youtube.com/user/AloneMonaX

Spoiler for Hiden:
10, 3rd places are mine, wew!

40:14 don_Kondo [Allies] olen olen
40:15 don_Kondo [Allies] olenishka
40:18 Hiatus [Allies] AHAH
40:21 don_Kondo [Allies] ya net olen
40:22 Hiatus [Allies] OLENISHKA
40:23 Hiatus [Allies] AHAHAH
40:25 don_Kondo [Allies] ya mala myshka
40:28 Hiatus [Allies] AHAHAHAH

Offline cen

  • Eurobattle.net Admin
  • WickedSick Member
  • *
  • Posts: 2090
  • Country: si
  • Karma: +265/-51
  • Lok'tar Ogar
  • Awards Lagabuse Legend LA High Staff [EPIC] MadBalls Tournament Winner [RARE] MVP Member [LEGENDARY]
    • View Profile
    • EuroBattle.net
    • Awards
Re: Profanity filter
« Reply #6 on: March 18, 2020, 23:24 »
We could add a very dumb filter but then we actually have a lot of non-english speaking players so we would need to add native language curses etc.. and people woud break the filter by adding stuff in words and chnging them around slightly.

Not worth the effort.