Update README.md
Browse files
README.md
CHANGED
|
@@ -157,13 +157,13 @@ The corpus was created with an **open-source pipeline** [[GitHub link]](https://
|
|
| 157 |
1. Processes files from local project directories (no web crawling required)
|
| 158 |
2. Extracts and processes content through a multi-stage pipeline:
|
| 159 |
* **HTML files**: Compacts HTML structure, extracts titles via *BeautifulSoup*, and converts body content to clean text using *html2text* with enhanced CJK character handling
|
| 160 |
-
* **PDF files**: Reads pre-converted TXT files from
|
| 161 |
* **Text processing**: Removes control characters, normalizes Unicode (NFKC), handles bidirectional text spacing, and collapses excessive whitespace
|
| 162 |
3. Runs language-aware word counting (smart algorithms for Chinese/Japanese/Korean vs. space-separated languages) and assigns domain labels based on file paths
|
| 163 |
4. Generates:
|
| 164 |
* `ai-culture.jsonl.gz` – **DOLMA-compatible** newline-delimited JSON
|
| 165 |
* `ai-culture.json` – one compact record per article
|
| 166 |
-
5.
|
| 167 |
|
| 168 |
All scripts include a **zero-duplicate** guarantee. We maintain **machine-validated alignment** between languages.
|
| 169 |
|
|
|
|
| 157 |
1. Processes files from local project directories (no web crawling required)
|
| 158 |
2. Extracts and processes content through a multi-stage pipeline:
|
| 159 |
* **HTML files**: Compacts HTML structure, extracts titles via *BeautifulSoup*, and converts body content to clean text using *html2text* with enhanced CJK character handling
|
| 160 |
+
* **PDF files**: Reads pre-converted TXT files from Word document sources that generated the PDFs
|
| 161 |
* **Text processing**: Removes control characters, normalizes Unicode (NFKC), handles bidirectional text spacing, and collapses excessive whitespace
|
| 162 |
3. Runs language-aware word counting (smart algorithms for Chinese/Japanese/Korean vs. space-separated languages) and assigns domain labels based on file paths
|
| 163 |
4. Generates:
|
| 164 |
* `ai-culture.jsonl.gz` – **DOLMA-compatible** newline-delimited JSON
|
| 165 |
* `ai-culture.json` – one compact record per article
|
| 166 |
+
5. Runs multi-layer integrity validation including dataset loading, structure verification, and sample inspection across all formats. Includes supplementary datasets library compatibility tests for Hugging Face Hub integration
|
| 167 |
|
| 168 |
All scripts include a **zero-duplicate** guarantee. We maintain **machine-validated alignment** between languages.
|
| 169 |
|