# Pepper 朗读外来词发音不自然如何调整

> 原文链接：https://robotics.hellobike.com/pitfalls/2020-07-15-robotics-se-15298
> 频道：pitfalls | 更新日期：2020-07-15 | 标签：auto, stackexchange, speech-processing, pepper
> 核心摘要：Pepper 朗读德语外来词不自然，可用 TTS 的音素发音标记调整读音。

# Pepper 朗读外来词发音不自然如何调整

::: v-pre
> 本文由 AI 根据公开内容整理，可能有误，请以原文为准：[Can I "shape" the sound of words spoken by Pepper with Phonetic transcription?](https://robotics.stackexchange.com/questions/15298/can-i-shape-the-sound-of-words-spoken-by-pepper-with-phonetic-transcription)（Robotics Stack Exchange #15298）

**状态**：已解决

## 问题

使用 Pepper 和 Choregraphe 编写对话时，部分外来词朗读不自然，例如德语 `Demenz` 中第一个 `e` 被读得过长。

## 环境

Linux / ROS 机器人软件与控制通用开发环境

## 解决办法

1. 使用 TTS 的音素发音标记调整读音，参考相关文档。
2. 示例：先设置语言 `tts.setLanguage("English")`，再用 `tts.say("\\toi=lhp\\‘zi.R+o&U \\toi=orth\\")` 指定发音；该示例等同于 `tts.say("zero")`。

原问题作者：buhtz；采纳答案作者：Emile。原内容依 CC BY-SA 4.0 授权，本页摘要同样依 CC BY-SA 4.0 授权。
:::

## 原始参考来源 (Sources)

- [Robotics Stack Exchange #15298：Can I "shape" the sound of words spoken by Pepper with Phonetic transcription?](https://robotics.stackexchange.com/questions/15298/can-i-shape-the-sound-of-words-spoken-by-pepper-with-phonetic-transcription)