china-textbook-2021-hf
收藏资源简介:
本数据集是中国教育部审定的中小学教科书PDF合集资源库,覆盖从小学到高中的各年级教材。数据来源于TapXWorld/ChinaTextbook项目,经过自动处理将原始碎片化的PDF文件(如分片文件)合并为完整版本,并托管在Hugging Face Datasets平台上以便访问和使用。数据集按照学段(如小学、初中、高中)、学科、版本和年级进行分层组织存储,文件命名遵循“义务教育教科书·<学科> <年级> <册>册.pdf”或类似格式,确保结构清晰和可检索。处理过程中通过专门的Rust合并器实现了PDF文件的自动合并与去重,保证每个教材仅保留一份完整版本。数据集适用于教育研究、课程分析、自然语言处理(如文本提取)等非商业用途的个人学习与研究场景,原始数据版权归各出版机构所有,使用时应遵守相关许可限制。
This dataset is a resource library containing PDF collections of Chinese primary and secondary school textbooks approved by the Ministry of Education, covering textbooks from elementary to high school grades. The data originates from the TapXWorld/ChinaTextbook project and has been automatically processed to merge original fragmented PDF files (such as split files) into complete versions, hosted on the Hugging Face Datasets platform for easy access and use. The dataset is organized hierarchically by educational stage (e.g., primary, junior high, high school), subject, version, and grade, with file naming following formats like 义务教育教科书·<Subject> <Grade> <Volume>册.pdf to ensure clear structure and retrievability. During processing, a dedicated Rust merger was used for automatic PDF merging and deduplication, ensuring only one complete version per textbook is retained. It is suitable for non-commercial personal learning and research purposes, such as educational research, curriculum analysis, and natural language processing (e.g., text extraction). The original data copyright belongs to the respective publishing institutions, and usage should comply with relevant licensing restrictions.
数据集名称
China Textbook 2021
语言
中文
数据集简介
本数据集收录中国教育部审定的中小学教科书PDF合集,覆盖小学到高中各年级。原始数据来源于 TapXWorld/ChinaTextbook,由项目代码自动合并碎片化文件后托管于Hugging Face Datasets。处理代码位于 GitHub仓库。
数据结构
教材按学段、学科、版本、年级分层组织,目录结构如下:
小学/ ├── ... 初中/ ├── ... 初中(五•四学制)/ ├── ... 小学(五•四学制)/ ├── ... 高中/ └── ...
文件名格式示例:义务教育教科书·<学科> <年级> <册>册.pdf
处理说明
- 上游PDF存在碎片化存储(如
.1、.2分片),通过 Rust 合并器 自动合并为完整文件。 - 部分教材同时存在完整PDF和
_merge_folder分片,合并器按优先级去重,确保每个文件仅保留一份完整版本。
使用方式
通过命令行下载至本地: shell pip install "huggingface_hub[cli]" hf hub download RainPPR/china-textbook-2021-hf --local-dir ./data
通过Python加载数据集(流式模式): python from datasets import load_dataset ds = load_dataset("RainPPR/china-textbook-2021-hf", streaming=True)
许可说明
- 原始数据版权归各出版机构所有。
- 本数据集仅供个人学习、研究使用,禁止用于商业用途。
- 项目代码采用MIT许可。





