mookiezi commited on
Commit
e40a2a0
·
verified ·
1 Parent(s): aa41182

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -3
README.md CHANGED
@@ -72,9 +72,17 @@ Use case examples:
72
  ## Filtering Pipeline
73
 
74
  This dataset was constructed with a custom multi-stage filtering toolkit:
75
- - **ToS risk filter** (drop/redact unsafe categories)
76
- - **Smart cleaner** (normalize text, slang replacement, resample by length, structural validation)
77
- - **SQL filters** (Discord-specific removals: links, embeds, bots, commands, code blocks, trading posts, LFG)
 
 
 
 
 
 
 
 
78
 
79
  The full filtering scripts are open source: [https://github.com/mookiezi/filters](https://github.com/mookiezi/filters)
80
 
 
72
  ## Filtering Pipeline
73
 
74
  This dataset was constructed with a custom multi-stage filtering toolkit:
75
+
76
+ 1. **ToS risk filter** (`tos.py`)
77
+ Drops or redacts unsafe categories (sexual violence, CSA, slurs, harassment, doxxing, self-harm, extremism) and PII.
78
+ Uses fuzzy/leet/diacritic-aware regex.
79
+
80
+ 3. **Smart cleaner** (`smartclean.py`)
81
+ Multi-stage process: normalize text, slang replacement, resample by length, and enforce structural validation.
82
+ Filters out structural noise such as code blocks, trading posts, and LFG.
83
+
84
+ 5. **SQL filters** (`filter.sql`)
85
+ Postgres regex/text filters for PII, bot/command patterns, links, embeds, and automation noise.
86
 
87
  The full filtering scripts are open source: [https://github.com/mookiezi/filters](https://github.com/mookiezi/filters)
88