How do you implement a good profanity filter?

后端 未结 21 2629
误落风尘
误落风尘 2020-11-22 04:27

Many of us need to deal with user input, search queries, and situations where the input text can potentially contain profanity or undesirable language. Oftentimes this needs

21条回答
  •  遥遥无期
    2020-11-22 05:28

    The only way to prevent offensive user input is to prevent all user input.

    If you insist on allowing user input and need moderation, then incorporate human moderators.

提交回复
热议问题