Update README.md
Browse files
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 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|