arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25384cs.CL
收藏

维基数据转训练语料:南斯拉夫语法

Wiki Dumps to Training Corpora: South Slavic Case

University of Belgrade, Faculty of Mining and Geology(贝尔格莱德大学,采矿与地质学系);University of Pisa, Department of Computer Sciences(比萨大学,计算机科学系)

Mihailo Škorić, Cosimo Palma

AI总结:

本文提出将维基数据转化为七种南斯拉夫语言高质量语料的流程,通过文本提取清洗和冗余过滤提升语料质量,为语言模型训练和跨语言比较提供可靠资源。

摘要:

本文提出了一种将原始维基数据转换为七种南斯拉夫语言高质量语料的流程。工作分为两个主要阶段:第一阶段涉及从维基百科、维基源、维基书籍、维基新闻和维基引语的原始数据中提取和清洗文本,需要仔细处理原始维基标记以分离文本文章并提取可用的自然语言文本。第二阶段解决可疑或低质量文章的问题,这些文章通常来自数据库或结构化知识库,具有重复模式、通用短语和极少或没有原创内容。为减轻其影响,采用基于n-gram的过滤策略来检测文章间的高文本冗余并完全移除这些文章。最终的语料库旨在提供语言丰富的文本,适用于语言模型训练或跨南斯拉夫语言的比较研究。通过系统提取与质量控制相结合,本工作为创建可靠、高信息量的语料库做出了贡献,这些语料库反映了语言的真实文化背景。尽管本文专注于南斯拉夫语的情况,但该方法主要语言无关,可推广到其他语言。

英文摘要:

This paper presents a pipeline designed to transform raw Wikimedia dumps into quality textual corpora for seven South Slavic languages. The work is divided into two major phases. The first involves extracting and cleaning text from raw dumps of Wikipedia, Wikisource, Wikibooks, Wikinews, and Wikiquote. This step requires careful handling of raw wiki markup to isolate, first of all, textual articles, and then usable natural language text within them. The second phase addresses the challenge of questionable or low-quality articles, which are often generated from databases or structured knowledge bases. These articles are characterised by repetitive patterns, generic phrasing, and minimal to no original content. To mitigate their impact, a n-gram-based filtering strategy was employed to detect high levels of textual redundancy between articles and then remove such articles from the corpora entirely. The resulting datasets aim to provide linguistically rich texts suitable for training language models or conducting comparative research across South Slavic languages. By combining systematic extraction with quality control, this work contributes to the creation of reliable, high-information corpora that reflect the authentic cultural contexts of languages. While focused on the South Slavic case in the paper, the approach is mostly language-agnostic and can be generalised to other languages.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑