Add content moderation and release validation tools
This commit is contained in:
1 parent
a9d572fff0
commit
7c2e82fc15
63 files changed
+5508
-38
No files matched your search
@@ -0,0 +1,25 @@
|
||||
# 主词库。CONTAINS 匹配字段中的片段,EXACT 匹配整个标准化字段。
|
||||
settings:
|
||||
# 允许覆盖某条规则的 replacement。
|
||||
replacement: '***'
|
||||
# 检测时额外尝试去掉空格、标点和其他非文字分隔符。
|
||||
strip-separators: true
|
||||
# 检测 bbbad 等重复字符变体,保留词本身所需的最少重复次数。
|
||||
fold-repetitions: true
|
||||
# 每个审核字段允许的 UTF-16 输入长度与唯一命中上限。
|
||||
max-input: 32768
|
||||
max-matches: 256
|
||||
rules:
|
||||
# 示例词用于验证插件。请按本服规则调整。
|
||||
- word: '违规内容'
|
||||
mode: CONTAINS
|
||||
category: 'OTHER'
|
||||
severity: LOW
|
||||
- word: '滚开'
|
||||
mode: EXACT
|
||||
category: 'INSULT'
|
||||
severity: LOW
|
||||
- word: '死全家'
|
||||
mode: CONTAINS
|
||||
category: 'INSULT'
|
||||
severity: HIGH
|
||||
Reference in new issue
Block a user