synoptiq-corpus
收藏资源简介:
SynoptiQ Corpus是一个专为对观福音问题(Synoptic Problem)的计算研究设计的词汇级数据集。该问题探讨《新约圣经》中马太、马可、路加三卷福音书之间的文学关系,是圣经研究领域持续两个多世纪的经典议题。数据集以科因希腊语呈现对观福音书文本,旨在为训练基于Transformer的模型提供支持,以检测文本的抄袭方向、编辑倾向和来源关系。数据集包含49,061个词汇级样本,覆盖马太福音(18,329词)、马可福音(11,286词)和路加福音(19,446词)。每个样本标注了词形、词性标签、形态学解析(CCAT编码)和所属Aland段落编号。数据集基于170个Aland段落组织,包括88个三重传统段落、17个双重传统段落、18个马太特有段落、45个路加特有段落和2个马可特有段落。关键特征提供词汇级平行对齐信息,使用Needleman-Wunsch算法计算了马太-马可、马太-路加、马可-路加之间的235组成对词汇对齐,产生8,855个对齐词汇对和45,029个间隙位置。数据基于SBLGNT批判版本文本和MorphGNT形态学注释,并在段落级别进行分层划分(60/20/20),确保训练集、验证集和测试集之间无经文重复。适用于科因希腊语NLP模型训练与评估、文本批评、作者研究、教学辅助和历史语言领域适应基准测试。
The SynoptiQ Corpus is a lexical-level dataset designed for computational research on the Synoptic Problem, which investigates the literary relationships among the Gospels of Matthew, Mark, and Luke in the New Testament, a classic issue in biblical studies spanning over two centuries. The dataset presents the synoptic gospel texts in Koine Greek, aiming to support training Transformer-based models to detect textual plagiarism directions, editorial tendencies, and source relationships. It contains 49,061 lexical samples covering the Gospel of Matthew (18,329 words), Mark (11,286 words), and Luke (19,446 words). Each sample (i.e., a word) is annotated with its lemma, part-of-speech tag, detailed morphological parsing (CCAT encoding, including person, tense, voice, mood, case, number, gender, degree), and Aland paragraph number. The dataset is organized based on 170 Aland paragraphs, including 88 triple tradition paragraphs (shared by all three gospels), 17 double tradition paragraphs (shared only by Matthew and Luke), 18 Matthew-specific paragraphs, 45 Luke-specific paragraphs, and 2 Mark-specific paragraphs. A key feature is the provision of lexical-level parallel alignment information. For all shared paragraphs, using the Needleman-Wunsch global alignment algorithm based on (lemma, part-of-speech) pairs, 235 pairwise lexical alignments are computed among Matthew-Mark, Matthew-Luke, and Mark-Luke, resulting in 8,855 aligned word pairs and 45,029 gap positions. This enables models to learn directly from corresponding structures. The data is based on the standard SBLGNT (Society of Biblical Literature Greek New Testament) critical edition text, incorporating morphological annotations from MorphGNT. The data is split at the paragraph level in a stratified manner (60/20/20), ensuring no overlap of scripture between the training set (101 paragraphs), validation set (33 paragraphs), and test set (36 paragraphs). The dataset is suitable for various tasks and applications, including training and evaluation of NLP models for Koine Greek (e.g., part-of-speech tagging, lemmatization, morphological analysis), textual criticism (detecting scribal tendencies, editorial fatigue, textual dependency patterns), stylometric and authorial studies of New Testament texts, as a teaching aid for Koine Greek, and as a benchmark for historical language domain adaptation techniques.
数据集概要
SynoptiQ Corpus 是一个面向计算语言学分析的 Koine 希腊语对观福音书(马太、马可、路加)词元级数据集,专为训练基于 Transformer 的模型以研究对观福音问题(Synoptic Problem)而设计。
核心特性
- 49,061 个词元:马太福音 18,329 个,马可福音 11,286 个,路加福音 19,446 个。
- 170 个 Aland 编修段(Pericopes):包含 88 个三重传统(三段福音均包含)、17 个双重传统(仅马太-路加)、18 个马太独有、45 个路加独有、2 个马可独有。
- 235 对逐对词元对齐:基于共享编修段,采用 Needleman-Wunsch 全局对齐算法(依据词元与词性配对),产生 8,855 个对齐词元对和 45,029 个缺口位置。
- 2,739 个独立词元:附带 MorphGNT 形态标注(词性、时态、语态、语气、格、数、性)。
- 分层 60/20/20 划分:按编修段级别划分为 101 个训练集、33 个验证集、36 个测试集,确保无经文跨划分。
- 文本来源:采用 SBLGNT 标准校勘本(CC-BY 授权)与 MorphGNT 形态标注(CC-BY-SA 授权)。
数据来源
| 来源 | 描述 | 许可证 |
|---|---|---|
| SBLGNT | 圣经文学学会希腊文新约(Holmes 2010) | CC-BY |
| MorphGNT | 形态标注版 SBLGNT(Tauber 2017) | CC-BY-SA |
| Aland Synopsis Quattuor Evangeliorum | 编修段编号与经文映射(Aland 1963) | 学术引用 |
局限性
- 仅包含对观福音书,不包括约翰福音。
- 约 96% 的词元被分配到编修段,约 1,984 个词元(4%)未分配。
- 形态标注基于 MorphGNT 单一学术分析,未包含其他解析方案。
- Needleman-Wunsch 对齐采用固定缺口惩罚,不同参数可能产生略微不同的对齐结果。
预期用途
- Koine 希腊语 NLP 模型训练与评估(词性标注、词形还原、形态分析)
- 经文鉴别学:检测抄写倾向、编辑疲劳及文本依赖模式
- 文体计量分析与新约文本作者研究
- Koine 希腊语教学工具
- 历史语言领域自适应技术基准测试
数据集结构
主表:词元级数据(data/*.parquet)
数据集按训练、验证、测试分为三个 Parquet 文件。每行代表一个词元,包含以下字段:
token_id:稳定标识符(如Matthew.1.1.0)book:福音书名称(Matthew、Mark、Luke)chapter:章号(从 1 开始)verse:节号(从 1 开始)position:词元在节内的位置(从 0 开始)text:SBLGNT 中的表面形式normalized:NFD 标准化、去除重音后的形式lemma:MorphGNT 字典主词pos:词性标签(如N-名词、V-动词、RA冠词等)morph:8 字符 CCAT 形态标签pericope_id:Aland 编修段编号tradition:传统分类(triple、double、matthean_unique、lukan_unique、mark_unique)genre:体裁(narrative、discourse、wisdom、passion、other)books_in_pericope:JSON 数组,列出该编修段包含的福音书is_punctuation:布尔值,始终为false
辅助文件
pericopes.parquet:编修段级元数据(170 行),包含编修段 ID、传统分类、体裁、所含书籍、词元数、对齐对数及划分归属。alignments.json:词元级 Needleman-Wunsch 对齐对,键格式为pericope_id|book_a|book_b,值为[idx_a, idx_b]列表,null表示缺口。
使用示例
python from datasets import load_dataset
加载词元级数据集
dataset = load_dataset("ainouche-abderahmane/synoptiq-corpus")
筛选三重传统数据
triple = dataset["train"].filter(lambda x: x["tradition"] == "triple")
提取马太福音的所有词元
matthew_lemmas = dataset["train"].filter(lambda x: x["book"] == "Matthew")["lemma"]
对齐格式
alignments.json 中的键格式为 pericope_id|book_a|book_b,例如:
json { "018|Matthew|Mark": [ [0, null], [1, 0], [null, 1] ] }
[0, null]:马太词元 0 在马可中无对应(缺口)[1, 0]:马太词元 1 与马可词元 0 对齐[null, 1]:马可词元 1 在马太中无对应(缺口)
索引引用该编修段内按(章、节、位置)排序的逐书词元序列。
相关模型
- KoineFormer:基于 GreTa 模型进行 LoRA 适配,在 Koine 希腊语上训练,并使用本数据集评估。
许可证
本数据集采用 CC-BY-SA 4.0 许可证。
版本历史
| 版本 | 日期 | 变更 |
|---|---|---|
| 1.0.0 | 2026-07 | 初始发布:合并 SBLGNT 与 MorphGNT,分配 Aland 编修段,进行 Needleman-Wunsch 对齐,提供分层划分。 |





