# 发音词典

发音词典是词或短语、其书面形式与其读音之间的映射，其形式适合自动语音识别（ASR）引擎或文本转语音（TTS）引擎使用。<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup> 在经典的模块化语音系统中，它位于声学模型（将声音映射为音素）与语言模型（预测词序列）之间，作用是把音素序列映射回词。<sup>[2](https://research.google/pubs/no-need-for-a-lexicon-evaluating-the-value-of-the-pronunciation-lexica-in-end-to-end-models/)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 词（或短语）、其书面形式与其读音之间的映射，供 ASR 或 TTS 引擎使用<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup> |
| 互操作格式 | W3C《发音词典规范》（PLS）1.0，2008年10月14日发布的 W3C 建议书，由 Loquendo 的保罗·巴贾（Paolo Baggia）编辑<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup> |
| 从标记语言引用 | PLS 文档可从 SSML（`<lexicon>` 元素）和 SRGS 语法中引用；一份文档可同时服务于 TTS 和 ASR<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup> |
| 最知名的英语词典 | CMU 发音词典（CMUdict）：逾134,000词，附北美读音，采用 ARPAbet 音素集，属公有领域<sup>[3](https://github.com/words/cmu-pronouncing-dictionary)</sup> |
| CMUdict 0.6 构成 | 127,069条条目；119,400词有一种读音，6,830词有两种，839词有三种及以上；39个音素<sup>[4](https://www.nltk.org/_modules/nltk/corpus/reader/cmudict.html)</sup> |
| 端到端趋势 | 在大词汇量英语语音搜索任务和多方言英语任务上，基于字素的端到端 ASR 模型表现优于基于音素的模型，从而不再需要单独由专家编纂的词典<sup>[2](https://research.google/pubs/no-need-for-a-lexicon-evaluating-the-value-of-the-pronunciation-lexica-in-end-to-end-models/)</sup> |
| 低资源用途 | 仅凭语音和正字法转写自动归纳词典，已为阿乔利语、卢干达语等资源匮乏语言生成与专家词典相当的词典<sup>[5](https://www.isca-archive.org/interspeech_2019/agenbag19_interspeech.html)</sup> |

## 在语音流水线中的作用

常规 ASR 系统结合三个组件：声学模型、语言模型和发音词典，词典应至少为训练数据中的每个不同词收录一条条目。<sup>[6](https://aclanthology.org/2022.cltw-1.pdf)</sup> 词典区分词的不同读音和拼写，因此是识别流水线的核心环节。<sup>[7](https://www.rev.com/resources/what-is-a-lexicon-in-speech-recognition)</sup> 其规模随任务而变：一种语言的词典可达数十万条条目，而针对特定任务的语音识别系统可能刻意将其发音词典限制在数千条。<sup>[8](https://technav.ieee.org/topic/lexicon/)</sup>

在 TTS 中，词典提供合成中的词—读音步骤，涵盖词重音和音标转写，而整个流水线还处理文本规范化、句子结构、协同发音、韵律和声学信号生成。<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup>

## PLS 标准

《发音词典规范》（PLS）的目标是让发音数据能以同时适用于 ASR 和 TTS 引擎的方式描述，每个词或短语可给出一种或多种读音，既可用标准发音字母表给出，也可在需要时用厂商专用字母表给出。<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup> 标准发音字母表包括国际音标（IPA）——旨在作为所有语言的语音表示记音标准——以及 SAMPA，一种仅使用 ASCII 字符的语音字母表。<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup>

PLS 文档把读音分组到 `<lexeme>` 元素中，每个元素将一个或多个 `<grapheme>` 元素（书面形式）与 `<phoneme>` 或 `<alias>` 元素配对。同一份文档既可从 SSML 文档引用以改进合成，也可从 SRGS 语法引用以改进识别；在 ASR 中应用的 PLS 条目还支持有限的文本规范化，如首字母缩略词展开和缩写。<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup> 商业系统在此基础上构建：Amazon Polly 要求词典符合 PLS W3C 建议，当应用多部词典时，它们自上而下生效，首个匹配优先。<sup>[9](https://docs.aws.amazon.com/en_en/polly/latest/dg/managing-lexicons-console-synthesize-speech.html)</sup>

1.0 规范有意将更复杂的特性推迟到未来修订，如与读音相关的形态、句法和语义信息（词干、词间语义链接、读音统计）。<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup>

## CMU 发音词典

使用最广的英语发音词典是卡内基梅隆发音词典（CMUdict），这是一部免费、属公有领域的词典，将英语词映射为其北美读音，由[卡内基梅隆大学](https://www.edgepedia.org/zh/carnegie-mellon-university)计算机科学学院语音组维护，常用于语音处理应用。<sup>[3](https://github.com/words/cmu-pronouncing-dictionary)</sup> 每行由一个大写词、一个异读计数和一个 ARPAbet 音素集转写组成，元音标有重音（1 主重音，2 次重音，0 无）；例如 NATURAL 转写为 N AE1 CH ER0 AH0 L。<sup>[4](https://www.nltk.org/_modules/nltk/corpus/reader/cmudict.html)</sup>

该词典稳步增长。1993年3月的0.1版有99,279条条目、3,498个读音变体（3.52%）；到2005年8月的0.7a版，已有133,739条条目、10,326个变体（7.72%）。<sup>[10](https://www.cs.cmu.edu/~archan/presentation/new_cmudict.pdf)</sup> 当前发行版有逾134,000词，并在积极维护和扩充。<sup>[3](https://github.com/words/cmu-pronouncing-dictionary)</sup> 多读音中有许多是快速语流变体。<sup>[4](https://www.nltk.org/_modules/nltk/corpus/reader/cmudict.html)</sup>

## 未登录词与 G2P

词典只覆盖其收录的词，因此语音系统需要一种方式来发音或识别未登录词（OOV），如专有名词和借词。字素到音素（G2P）模型将正字法符号转换为音素，并为 OOV 词生成音素预测；早期 G2P 基于规则，但基于规则的方法遇到可扩展性问题，被数据驱动方法取代。<sup>[11](https://sls.csail.mit.edu/publications/2013/McGraw_IEEE_02-13.pdf)</sup> 在 TTS 中，许多系统在训练时使用音素输入，正是为了在推理时可访问和纠正读音；一个同时处理 OOV 词和同形异音词（拼写相同、读音不同，如“read”）的单一 G2P 模型可以取代词典查询。<sup>[12](https://docs.nvidia.com/nemo-framework/user-guide/latest/nemotoolkit/tts/g2p.html)</sup>

研究也从另一方向攻关，即从数据中学习词典。一个贪心读音选择框架从数千词的初始词典出发，学到的词典在词错误率上接近完整的专家词典，优于仅用 G2P 构建的词典。<sup>[13](https://arxiv.org/abs/1706.03747)</sup> 对于没有音素清单或词典的资源匮乏语言，无监督子词单元发现和仅使用录音语音与正字法转写的词典归纳，为阿乔利语生成的词典表现与基线专家系统相当，为卢干达语和乌干达英语生成的词典也接近该水平。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S0885230818301980)</sup> 对高度黏着的卢干达语，在词典归纳前加入数据驱动的形态切分，使词错误率相对降低10%，使自动归纳的词典与专家词典相当。<sup>[5](https://www.isca-archive.org/interspeech_2019/agenbag19_interspeech.html)</sup>

## 端到端模型与词典角色的变化

端到端 ASR 模型将声学、发音和语言模型组件合并为单一神经网络，通常预测字素或词，从而不再需要单独由专家编纂的词典。<sup>[2](https://research.google/pubs/no-need-for-a-lexicon-evaluating-the-value-of-the-pronunciation-lexica-in-end-to-end-models/)</sup> 赛纳特（Sainath）、普拉巴瓦尔卡（Prabhavalkar）、库马尔（Kumar）及同事在谷歌所做、发表于 ICASSP 2018 的实验，在大词汇量英语语音搜索任务上比较了基于音素和基于字素的端到端模型，发现字素优于音素；多方言英语任务证实了这一结果，并表明字素大大简化了多方言识别。<sup>[2](https://research.google/pubs/no-need-for-a-lexicon-evaluating-the-value-of-the-pronunciation-lexica-in-end-to-end-models/)</sup> 对编码器—解码器—注意力模型的字素和音素输出标签的系统比较同样发现，基于字素的单元始终优于音素。<sup>[15](https://arxiv.org/abs/2005.09336)</sup>

词典并未消失。在需要明确发音控制的地方，基于音素的方法仍在使用，例如必须让用户纠正错误读音的 TTS 系统；<sup>[12](https://docs.nvidia.com/nemo-framework/user-guide/latest/nemotoolkit/tts/g2p.html)</sup> 近期基于音素的跨语言 ASR 研究将音素视为潜变量，以消除对发音词典的需求，这表明在该情境下词典仍是一个限制性依赖。<sup>[16](https://arxiv.org/abs/2507.06249)</sup> 发音词典在识别与合成流水线之外也仍有作用：它们支持无障碍访问，被用于屏幕阅读器和具有多模态界面的用户代理。<sup>[1](https://www.w3.org/TR/pronunciation-lexicon/)</sup>

## References

1. [Pronunciation Lexicon Specification (PLS) Version 1.0, W3C Recommendation 14 October 2008](https://www.w3.org/TR/pronunciation-lexicon/)
2. [Tara Sainath, Rohit Prabhavalkar, Shankar Kumar, et al. No Need For A Lexicon? Evaluating The Value Of The Pronunciation Lexica In End-To-End Models. ICASSP 2018.](https://research.google/pubs/no-need-for-a-lexicon-evaluating-the-value-of-the-pronunciation-lexica-in-end-to-end-models/)
3. [cmu-pronouncing-dictionary, words (GitHub)](https://github.com/words/cmu-pronouncing-dictionary)
4. [NLTK nltk.corpus.reader.cmudict source documentation](https://www.nltk.org/_modules/nltk/corpus/reader/cmudict.html)
5. [Wiehan Agenbag, Thomas Niesler (2019). Improving Automatically Induced Lexicons for Highly Agglutinating Languages Using Data-Driven Morphological Segmentation. Interspeech 2019, 3515-3519.](https://www.isca-archive.org/interspeech_2019/agenbag19_interspeech.html)
6. [Proceedings of the 13th Language Resources and Evaluation Conference (LREC 2022), Computational Language Technologies Workshop](https://aclanthology.org/2022.cltw-1.pdf)
7. [What Is a Lexicon in Speech Recognition? Rev](https://www.rev.com/resources/what-is-a-lexicon-in-speech-recognition)
8. [Lexicon, IEEE Technology Navigator](https://technav.ieee.org/topic/lexicon/)
9. [Applying lexicons (Synthesizing Speech), Amazon Polly documentation](https://docs.aws.amazon.com/en_en/polly/latest/dg/managing-lexicons-console-synthesize-speech.html)
10. [CMU Pronouncing Dictionary version history presentation, Carnegie Mellon University](https://www.cs.cmu.edu/~archan/presentation/new_cmudict.pdf)
11. [Ivan McGraw et al. (2013). SUMMIT speech recognition search-space description, MIT CSAIL](https://sls.csail.mit.edu/publications/2013/McGraw_IEEE_02-13.pdf)
12. [Grapheme-to-Phoneme Models, NVIDIA NeMo Framework User Guide](https://docs.nvidia.com/nemo-framework/user-guide/latest/nemotoolkit/tts/g2p.html)
13. [Acoustic data-driven lexicon learning based on a greedy pronunciation selection framework (arXiv:1706.03747)](https://arxiv.org/abs/1706.03747)
14. [Wiehan Agenbag, Thomas Niesler (2019). Automatic sub-word unit discovery and pronunciation lexicon induction for ASR with application to under-resourced languages. Computer Speech & Language 57:20-40.](https://www.sciencedirect.com/science/article/abs/pii/S0885230818301980)
15. [A systematic comparison of grapheme-based vs. phoneme-based label units for encoder-decoder-attention models (arXiv:2005.09336)](https://arxiv.org/abs/2005.09336)
16. [Pronunciation-Lexicon Free Training for Phoneme-based Crosslingual ASR via Joint Stochastic Approximation (arXiv:2507.06249)](https://arxiv.org/abs/2507.06249)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Language and vision AI › Natural language processing

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/pronunciation-lexicon

English original: https://www.edgepedia.org/pronunciation-lexicon
