hannah-eee/arch-wiki-docs
收藏资源简介:
该数据集提供了完整的Arch Linux Wiki,以干净、机器可读的JSON Lines格式(.jsonl)呈现。它源自官方的arch-wiki-docs包,该包包含所有语言版本的静态HTML导出。每行代表一个Wiki页面,包含提取的纯文本、标题、语言代码和相对URL路径,适用于RAG(检索增强生成)、嵌入、全文搜索或离线浏览。数据集结构为每个JSON对象包含以下字段:语言代码(如en、fr、de,中文变体为zh-hans/zh-hant)、页面标题(不带“- ArchWiki”后缀)、相对URL路径(如en/Arch_Linux.html)、文章的干净纯文本版本(已移除所有HTML标签、编辑链接、目录和导航元素)以及页面中所有h1、h2、h3标题的列表(按出现顺序)。数据集总页数约5,713页,支持多种语言,平均每页内容长度约2,500字符,压缩文件大小约50-80 MB,未压缩JSONL文件大小约200-300 MB。
This dataset provides the complete Arch Linux Wiki in a clean, machine-readable JSON Lines format (.jsonl). It is derived from the official arch-wiki-docs package, which contains static HTML exports of all language versions. Each line is one wiki page, with extracted plain text, headings, language code, and a relative URL path – ready for RAG (Retrieval-Augmented Generation), embedding, full-text search, or offline browsing. The dataset structure includes one JSON object per line with fields: language code (e.g., en, fr, de, with Chinese variants as zh-hans/zh-hant), page title (without the - ArchWiki suffix), relative URL path (e.g., en/Arch_Linux.html), clean plain-text version of the article (with all HTML tags, edit links, tables of contents, and navigation elements removed), and a list of all h1, h2, h3 headings found on the page in order of appearance. It contains approximately 5,713 total pages across multiple languages, with an average content length of about 2,500 characters per page, compressed file size of ~50-80 MB, and uncompressed JSONL size of ~200-300 MB.




