arnum-tts
收藏资源简介:
ArNum-TTS 是一个专门用于评估阿拉伯语文本转语音(TTS)系统在数字处理方面性能的小型基准测试集。该数据集由 15 个句子构成,每个句子以三种数字形式(西方数字、阿拉伯-印度数字、拼写数字)呈现,共 45 个语音样本。所有句子除了数字形式外完全相同,重点关注年份、百分比、小数、货币、时间、日期、电话号码、序数、范围和大数等实际应用场景。数据集提供原始测试句子(sentences.jsonl,包含句子文本、数字形式标识、类别等信息)以及三个 TTS 引擎(fish、Apple、ArTST)的合成结果(results_*.jsonl,包含每话语的转录和评分)。该数据集的目的是揭示 TTS 系统在处理不同数字形式时的表现差异,特别是阿拉伯-印度数字可能被错误处理的问题。数据规模为 45 个样本,适用于阿拉伯语 TTS 系统的评估和基准测试,可帮助开发者识别和修复数字发音缺陷。
ArNum-TTS is a small benchmark dataset specifically designed to evaluate the performance of Arabic text-to-speech (TTS) systems in processing numbers. The dataset consists of 15 sentences, each presented in three numeral forms (Western digits, Arabic-Indic digits, and spelled-out numbers), resulting in 45 speech samples. All sentences are identical except for the numeral forms, focusing on practical scenarios such as years, percentages, decimals, currencies, times, dates, phone numbers, ordinals, ranges, and large numbers. The dataset provides raw test sentences (sentences.jsonl, containing sentence text, numeral form identifier, category, etc.) and synthesis results from three TTS engines (fish, Apple, ArTST) (results_*.jsonl, containing transcription and scoring for each utterance). The goal of this dataset is to reveal performance differences of TTS systems when handling different numeral forms, particularly the potential misprocessing of Arabic-Indic digits. With a scale of 45 samples, it is suitable for evaluation and benchmarking of Arabic TTS systems, helping developers identify and fix numeral pronunciation issues.
ArNum-TTS 数据集概述
基本信息
- 数据集名称:ArNum-TTS(阿拉伯语文本转语音数字评估集)
- 作者:Syamjith NK
- 许可证:数据采用 CC BY 4.0,代码采用 MIT 许可证
- 语言:阿拉伯语(ar)
- 任务类型:文本转语音(text-to-speech)
- 数据集规模:少于 1K 条样本(n<1K)
- 数据集地址:https://huggingface.co/datasets/syamjithnk/arnum-tts
数据集目的
该数据集评估一个具体问题:当阿拉伯语 TTS 系统朗读包含数字的句子时,听者能否还原该数字。这针对日期、价格、百分比等实际应用场景。
设计结构
- 总计:15 个句子 × 3 种数字形式 = 45 条语音样本
- 三种数字形式:
| 形式 | 示例 |
|---|---|
| 西方数字(western) | في عام 2026 |
| 阿拉伯-印度数字(arabic_indic) | في عام ٢٠٢٦ |
| 拼写形式(spelled) | في عام ألفين وستة وعشرين |
- 测试类别:年份、百分比、小数、货币、时间、日期、电话号码、序数、范围、大数计数
基准测试结果(三种引擎)
| 数字形式 | fish s2.1-pro-free |
Apple Majed (ar_001) |
ArTST speecht5_tts_clartts_ar |
|---|---|---|---|
西方数字 2026 |
11/15 (73%) | 13/15 (87%) | 0/15 (0%) |
阿拉伯-印度数字 ٢٠٢٦ |
1/15 (7%) | 13/15 (87%) | 0/15 (0%) |
拼写形式 ألفين وستة وعشرين |
13/15 (87%) | 9/15 (60%) | 4/15 (27%) |
| 总体 | 25/45 (56%) | 33/45 (73%) | 4/45 (9%) |
关键发现
- Apple:在朗读前对数字进行归一化,因此不受数字形式影响,两种数字形式均取得 87% 的正确率。
- fish:能处理西方数字,但在阿拉伯-印度数字上表现崩溃(从 73% 降至 7%),失败表现为噪声而非发音错误。
- ArTST:两种数字形式均无法处理(0/30),原因在于其 87-token 词汇表中缺少阿拉伯-印度数字
٠-٩,导致数字在合成前被删除。
数据集文件
| 文件 | 功能 |
|---|---|
build_set.py |
生成 data/sentences.jsonl |
run_bench.py |
合成 → 转录 → 评分流程 |
arnum.py |
阿拉伯语数字词 → 数值归一化器 |
test_arnum.py |
归一化器的 34 项测试 |
rescore.py |
从存储的转录中重新推导所有结果 |
results_{fish,apple,artst}.jsonl |
每个引擎的逐条结果 |
data/artst_tokens.json |
ArTST 分词器实际接收的内容 |
数据配置
数据集包含 4 个配置:
- sentences:测试句子数据(
data/sentences.jsonl) - results_fish:fish 引擎结果
- results_apple:Apple 引擎结果
- results_artst:ArTST 引擎结果
实用性建议
将数字在输入阿拉伯语 TTS 引擎前进行归一化处理:对 fish 使用西方数字,对 ArTST 则完全转换为阿拉伯语单词。
相关说明
- 该数据集是“阿拉伯语能否在流程中存活”系列基准之一,另有 ArShape(渲染)和 ArPDF(PDF 往返)两个数据集。
- 测量链为 TTS → Whisper → 数字解析器,任何环节的误差都会归咎于 TTS。
- 尚未进行人工听力验证,绝对数字在引用前需人工确认。





