aligned-mwe
收藏资源简介:
该数据集名为 aligned_mwe,旨在为每个圣经词条(lexeme)提供其对应的连续多词目标短语(multi-word expression)。数据来源于圣经文本的词语对齐,使用 eflomal 的 grow-diag-final-and 对称化对齐算法,从每个经文的词对齐位置中提取连续的目标词片段(即目标词位置连续,满足 max-min+1 == len),过滤掉分散的对齐。每条记录包含:词条 ID(lexeme,如 hbo:2545)、汇总的 Strong 编号(strong,如 H2545)、连续的多词短语(phrase,小写)、短语中的词数(n_words)、该词条到该短语的对齐次数(count)、该次数占该词条所有对齐次数的比例(share),以及 contig 字段(始终为真,表示连续性)。数据采用 Parquet 格式存储,许可证为 CC0-1.0。适用于翻译、词对齐、多词表达分析等任务。
The dataset named aligned_mwe is designed to provide continuous multi-word target phrases for each Bible lexeme. The data is derived from word alignment of biblical texts, using the eflomal grow-diag-final-and symmetrization alignment algorithm to extract continuous target word segments from the word alignment positions of each verse (i.e., target word positions are consecutive, satisfying max-min+1 == len), filtering out scattered alignments. Each record contains: lexeme ID (e.g., hbo:2545), aggregated Strong number (e.g., H2545), continuous multi-word phrase (lowercase), number of words in the phrase (n_words), alignment count from the lexeme to the phrase (count), the proportion of this count to all alignments of the lexeme (share), and a contig field (always true, indicating continuity). The data is stored in Parquet format, licensed under CC0-1.0. It is suitable for tasks such as translation, word alignment, and multi-word expression analysis.
数据集概述
aligned_mwe 是一个专注于圣经文本中多词表达(Multi-Word Expressions)对齐的数据集,由 bcv-commons 组织发布。
核心内容
该数据集与 lexeme-alignments 数据集互补,后者按表层词元(token)逐行组织,而本数据集则按词汇素(lexeme)聚合,每个词汇素对应一个连续的多词短语。数据来源于对齐器在每节经文中的 t_idx 位置,仅保留目标语言中位置连续(max−min+1 == len)的片段;分散链接到同一词汇素的词元会被丢弃,并在清单中记为 scattered_dropped,确保透明。对齐方法基于 eflomal 的 grow-diag-final-and 对称化对齐。
数据模式(Schema)
| 列名 | 含义 |
|---|---|
lexeme |
MACULA 词汇素锚点(如 hbo:2545 / grc:0026) |
strong |
汇总的 Strongs 编号(如 H2545 / G0026) |
phrase |
实际出现的连续多词表达(小写) |
n_words |
片段中的词元数量 |
count |
该(词汇素 → 短语)对齐出现的次数 |
share |
count / 该词汇素的总计数 |
contig |
恒为 true(连续性为纳入标准) |
许可与生成
- 许可证:CC0-1.0(公有领域)
- 数据内容:仅包含短语、计数和公共标识符(Strongs / MACULA 词汇素),不含 MACULA 分析列
- 语言来源:每种语言的源翻译保留各自的条款,详见各语言
manifest.json中的source指针 - 重新生成命令:
python -m lexeme_aligner.export_mwe --iso <iso> --method merged - 发布方式:批量 Parquet 文件在 Git 外发布,仓库仅提交
manifest.json(含每语言元数据和content_sha256)及本数据卡
任务与标签
- 任务类别:翻译(translation)、词元分类(token-classification)
- 标签:圣经(bible)、词对齐(word-alignment)、Strongs、多词表达(multiword-expression)、逐行对照(interlinear)





