nb-asr-numerics-balanced-disfluent
收藏资源简介:
Balanced Synthetic Norwegian Bokmål Numerics Dataset 是一个合成、类别平衡的挪威语博克马尔语句子语料库,专门包含数字表达式。该数据集旨在为下游文本转语音(TTS)发音变体训练提供最大化方差的语料。数据来源于pere/nb-asr-numerics-categorized数据集中的模板,通过筛选包含标注实体的原始行,为59个目标数字类别中的每一个,有放回地采样10,000个模板句子。随后,将句子模板中的`<NUM>`占位符替换为符合每个类别指定正则表达式模式的随机生成数值,并确定性地重新计算和调整所有实体边界、起始/结束偏移量以及文本值,以匹配新生成的文本。最终生成了一个高度平衡的语料库,总计590,000行数据。数据集包含以下字段:`id`(唯一合成标识符)、`text`(包含合成数值的新生成句子文本)、`masked_text`(带有`<NUM>`占位符的原始模板文本)、`decision`(始终为keep)、`entities`(对齐的语义实体列表,包含其起止偏移、更新后的文本和类别)、`constraints`(来自源模板的关系约束)、`primary_category`(生成此行的类别)、`source_template_id`(原始模板行的ID)。该数据集适用于文本生成任务,特别是与自动语音识别(ASR)和TTS相关的挪威语数字处理应用。
Balanced Synthetic Norwegian Bokmål Numerics Dataset is a synthetic, category-balanced corpus of Norwegian Bokmål sentences specifically containing numeric expressions. The dataset is designed to provide maximally varied corpora for downstream text-to-speech (TTS) pronunciation variant training. The data originates from templates in the pere/nb-asr-numerics-categorized dataset. By filtering original rows containing annotated entities, 10,000 template sentences were sampled with replacement for each of the 59 target numeric categories. Subsequently, the `<NUM>` placeholders in the sentence templates were replaced with randomly generated numerical values that conform to the regular expression patterns specified for each category, and all entity boundaries, start/end offsets, and text values were deterministically recalculated and adjusted to match the newly generated text. This ultimately produced a highly balanced corpus totaling 590,000 rows. The dataset includes the following fields: `id` (unique synthetic identifier), `text` (newly generated sentence text containing synthetic numerical values), `masked_text` (original template text with `<NUM>` placeholders), `decision` (always keep), `entities` (aligned list of semantic entities including their start/end offsets, updated text, and categories), `constraints` (relational constraints from the source template), `primary_category` (category that generated this row), `source_template_id` (ID of the original template row). The dataset is suitable for text generation tasks, particularly for Norwegian numeric processing applications related to automatic speech recognition (ASR) and TTS.
数据集概述
数据集名称: Balanced Synthetic Norwegian Bokmål Numerics Dataset
许可证: CC-BY-4.0
语言: 挪威语 (no, nb)
任务类型: 文本生成 (text-generation)
标签: ASR、TTS、挪威语、数字、平衡、合成
数据集规模与类别平衡
- 包含 59 个数字类别,每个类别提供 20,000 个样本。
- 总行数超过 110 万,类别间样本数量均衡。
主要更新:TTS 发音朗读字段
新增 tts_text 字段,用于文本转语音 (TTS) 朗读:
- 所有数字表达式、数字和数学表达式被展开为挪威语拼写形式,遵循各类别的发音指南。
- 科学缩写(如
mmol、Hz、µg/l)被完整展开为挪威语文本名称。 - 处理过程使用
google/gemma-4-12B-it模型,基于类别特定指南,在 DGX GPU 上以批量模式运行。
数据来源与合成架构
- 模板来源: pere/nb-asr-numerics-categorized
- 合成方法:
- 过滤原始数据集,保留包含注释实体的行。
- 对每个目标类别,从句子模板中有放回地抽取 20,000 个样本。
- 将每个句子模板中的
<NUM>占位符替换为符合类别正则表达式模式的随机值。 - 所有实体边界、起始/结束偏移量和文本值均经过确定性重新计算,并与新生成的文本对齐。
- 最终获得高度平衡的语料库,为下游 TTS 发音变体训练提供了最大化的变异性。
数据字段说明
| 字段名 | 说明 |
|---|---|
id |
唯一的合成标识符 |
text |
包含合成数字值的新生成句子文本 |
tts_text |
适用于 TTS 训练的书面自然挪威语发音形式 |
masked_text |
带有 <NUM> 占位符的原始模板文本 |
decision |
始终为 "keep" |
entities |
对齐的语义实体列表,包含起始/结束偏移量、更新后的文本和类别 |
constraints |
来自源模板的关系约束 |
primary_category |
该行生成的类别 |
source_template_id |
原始模板行的 ID |




