Skip to content

Commit 52b4846

Browse files
authored
Merge pull request #193696 from jiajzhan/jiajzhan/zhcnphonesetupdate
update zhcn. zhtw, zhhk phone set document
2 parents fbcaa1d + 0e518e5 commit 52b4846

File tree

6 files changed

+223
-30
lines changed

6 files changed

+223
-30
lines changed

articles/cognitive-services/Speech-Service/includes/phonetic-sets/text-to-speech/de-de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@
108108

109109
> [!NOTE]
110110
> We need to add a [gs\] phone between two distinct vowels, except when the two vowels are a genuine diphthong. This oral consonant is a glottal stop. For more information, see [glottal stop](http://en.wikipedia.org/wiki/Glottal_stop).
111-
> `en-CA` locale doesn't support SAPI phones now.
111+
> Besides, `de-CH`,`de-AT` locales don't support SAPI phones now.

articles/cognitive-services/Speech-Service/includes/phonetic-sets/text-to-speech/en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@
9494
| l | `l` | 14 | **l**id, g**l**ad | pa**l**ace | chi**ll** |
9595
| r | `ɹ` | 13 | **r**ed, b**r**ing | bo**rr**ow | ta**r** |
9696

97-
> [!TIP]
98-
> `de-CH`, `de-AT` locales don't support SAPI phones now.
97+
> [!NOTE]
98+
> `en-CA` locale doesn't support SAPI phones now.

articles/cognitive-services/Speech-Service/includes/phonetic-sets/text-to-speech/fr-fr.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,6 @@ The Speech service phone set puts stress after the vowel of the stressed syllabl
5656

5757
> [!TIP]
5858
> The `fr-FR` Speech service phone set doesn't support the following French liasions, `n‿`, `t‿`, and `z‿`. If they are needed, you should consider using the IPA directly.
59+
60+
> [!NOTE]
5961
> `fr-CA`, `fr-CH` locales don't support SAPI phones now.
Lines changed: 107 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,114 @@
1-
The Speech service phone set for `zh-CN` is based on the native phone [Pinyin](https://en.wikipedia.org/wiki/Pinyin).
1+
The Speech service phone set for `zh-CN` is based on the native phone <a href="https://en.wikipedia.org/wiki/Pinyin" target="_blank">Pinyin </a> set.
22

3-
#### Tone
3+
### Pinyin Initials
44

5-
| Pinyin tone | `sapi` | Character example |
6-
|-------------|--------|-------------------|
7-
|| ma 1 ||
8-
|| ma 2 ||
9-
|| ma 3 ||
10-
|| ma 4 ||
11-
| ma | ma 5 ||
5+
| Pinyin | Character example | `sapi` example |
6+
|--------|-------------------|----------------|
7+
| b || **b**o 1 |
8+
| p || **p**o 1 |
9+
| m || **m**o 1 |
10+
| f || **f**o 2 |
11+
| d || **d**e 2 |
12+
| t || **t**e 4 |
13+
| n || **n**e 5 |
14+
| l || **l**e 4 |
15+
| g || **g**e 1 |
16+
| k || **k**e 1 |
17+
| h || **h**e 1 |
18+
| j || **j**i 1 |
19+
| q || **q**i 1 |
20+
| x || **x**i 1 |
21+
| zh || **zh**i 1 |
22+
| ch || **ch**i 1 |
23+
| sh || **sh**i 1 |
24+
| r || **r**i 4 |
25+
| z || **z**i 1 |
26+
| c || **c**i 3 |
27+
| s || **s**i 1 |
28+
| y || **y**i 1 |
29+
| w || **w**u 1 |
30+
31+
### Pinyin Finals
32+
| Pinyin | Character example | `sapi` example |
33+
|--------|-------------------|----------------|
34+
| a || f**a** 3 |
35+
| o || p**o** 1 |
36+
| e || g**e** 1 |
37+
| i || l**i** 3 |
38+
| u || b**u** 4 |
39+
| v || n**v** 3 |
40+
| ai || b**ai** 3 |
41+
| ei || b**ei** 3 |
42+
| ui || d**ui** 4 |
43+
| ao || h**ao** 4 |
44+
| ou || z**ou** 3 |
45+
| iu || n**iu** 2 |
46+
| ie || x**ie** 4 |
47+
| ue || l**ue** 4 |
48+
| er || **er** 3 |
49+
| an || h**an** 3 |
50+
| en || k**en** 3 |
51+
| in || b**in** 1 |
52+
| un || z**un** 1 |
53+
| ang || l**ang** 3 |
54+
| eng || h**eng** 2 |
55+
| ing || y**ing** 2 |
56+
| ong || h**ong** 2 |
57+
| ia || j**ia** 1 |
58+
| ian || m**ian** 4 |
59+
| iang || x**iang** 4 |
60+
| iao || b**iao** 3 |
61+
| iong || x**iong** 1 |
62+
| ua || h**ua** 1 |
63+
| uai || sh**uai** 4 |
64+
| uan || d**uan** 3 |
65+
| uang | 广 | g**uang** 3 |
66+
| uo || d**uo** 1 |
67+
68+
### Pinyin Whole syllable
69+
| Pinyin | Character example | `sapi` example |
70+
|--------|-------------------|----------------|
71+
| zhi || **zhi** 1 |
72+
| chi || **chi** 1 |
73+
| shi || **shi** 1 |
74+
| ri || **ri** 1 |
75+
| zi || **zi** 1 |
76+
| ci || **ci** 2 |
77+
| si || **si** 1 |
78+
| yi || **yi** 1 |
79+
| wu || **wu** 1 |
80+
| yu || **yu** 2 |
81+
| ye || **ye** 4 |
82+
| yue || **yue** 4 |
83+
| yuan || **yuan** 2 |
84+
| yin || **yin** 1 |
85+
| yun || **yun** 1 |
86+
| ying || **ying** 1 |
87+
| a || **a** 1 |
88+
| o || **o** 1 |
89+
| e || **e** 2 |
90+
| ai || **ai** 4 |
91+
| ei || **ei** 1 |
92+
| ao || **ao** 4 |
93+
| ou || **ou** 3 |
94+
| an || **an** 1 |
95+
| en || **en** 1 |
96+
| ang || **ang** 2 |
97+
98+
### Pinyin Tone
99+
| Pinyin | Character example | `sapi` example |
100+
|--------|-------------------|----------------|
101+
||| ba **1** |
102+
||| ba **2** |
103+
||| ba **3** |
104+
||| ba **4** |
105+
| ba || ba **5** |
12106

13107
#### Example
14108

15109
| Character | Speech service |
16110
|-----------|-------------------------------|
17-
| 组织关系 | zu 3 - zhi 1 - guan 1 - xi 5 |
18-
| 累进 | lei 3 -jin 4 |
19-
| 西宅巷 | xi 1 - zhai 2 - xiang 4 |
111+
| 组织关系 | zu 3 - zhi 1 - guan 1 - xi 5 |
112+
| 累进 | lei 3 - jin 4 |
113+
| 西宅巷 | xi 1 - zhai 2 - xiang 4 |
114+
| 一会儿 | yi 2 - hui r 4 |
Lines changed: 108 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,112 @@
1-
The Speech service phone set for `zh-TW` is based on the native phone [Bopomofo](https://en.wikipedia.org/wiki/Bopomofo).
1+
The Speech service phone set for `zh-TW` is based on the native phone <a href="https://zh.wikipedia.org/wiki/%E6%B3%A8%E9%9F%B3%E7%AC%A6%E8%99%9F" target="_blank">Bopomofo </a> set.
22

3-
#### Tone
3+
### Bopomofo Initials
44

5-
| Speech service tone | Bopomofo tone | Example (word) | Speech service phones | Bopomofo | Pinyin (拼音) |
6-
|---------------------|---------------|----------------|-----------------------|----------|-------------|
7-
| ˉ | empty || ㄓㄣˉ | ㄓㄣ | zhēn |
8-
| ˊ | ˊ || ㄔㄚˊ | ㄔㄚˊ | chá |
9-
| ˇ | ˇ || ㄉㄚˇ | ㄉㄚˇ ||
10-
| ˋ | ˋ || ㄨㄤˋ | ㄨㄤˋ | wàng |
11-
| ˙ | ˙ | 影子 | 一ㄥˇ ㄗ˙ | 一ㄥˇ ㄗ˙ | yǐng zi |
5+
| Bopomofo | Pinyin | `sapi` Example <br> (Bopomofo, Pinyin) |
6+
|----------|--------|----------------------------------|
7+
|| b | 玻 (****ㄛ, **b**o 1) |
8+
|| p | 坡 (****ㄛ, **p**o 1) |
9+
|| m | 摸 (****ㄛ, **m**o 1) |
10+
|| f | 佛 (****ㄛˊ, **f**o 2) |
11+
|| d | 得 (****ㄜˊ, **d**e 2) |
12+
|| t | 特 (****ㄜˋ, **t**e 4) |
13+
|| n | 呢 (****ㄜ˙, **n**e 5) |
14+
|| l | 樂 (****ㄜˋ, **l**e 4) |
15+
|| g | 哥 (****ㄜ, **g**e 1) |
16+
|| k | 科 (****ㄜ, **k**e 1) |
17+
|| h | 喝 (****ㄜ, **h**e 1) |
18+
|| j | 基 (****ㄧ, **j**i 1) |
19+
|| q | 欺 (****ㄧ, **q**i 1) |
20+
|| x | 希 (****ㄧ, **x**i 1) |
21+
|| zh | 知 (****, **zh**i 1) |
22+
|| ch | 吃 (****, **ch**i 1) |
23+
|| sh | 詩 (****, **sh**i 1) |
24+
|| r | 日 (****ˋ, **r**i 4) |
25+
|| z | 资 (****, **z**i 1) |
26+
|| c | 此 (****ˇ, **c**i 3) |
27+
|| s | 思 (****, **s**i 1) |
28+
|| y | 衣 (****, **y**i 1) |
29+
|| w | 屋 (****, **w**u 1) |
1230

13-
#### Examples
31+
### Bopomofo Finals
1432

15-
| Character | `sapi` |
16-
|-----------|----------|
17-
|| ㄍㄡˇ |
18-
| 然后 | ㄖㄢˊㄏㄡˋ |
19-
| 剪掉 | ㄐㄧㄢˇㄉㄧㄠˋ |
33+
| Bopomofo | Pinyin | `sapi` Example <br> (Bopomofo, Pinyin) |
34+
|----------|--------|----------------------------------|
35+
|| a | 法 (ㄈ****ˇ, f**a** 3) |
36+
|| o | 潑 (ㄆ****, p**o** 1) |
37+
|| e | 歌 (ㄍ****, g**e** 1) |
38+
|| i | 理 (ㄌ****ˇ, l**i** 3) |
39+
|| u | 步 (ㄅ****ˋ, b**u** 4) |
40+
|| v | 女 (ㄋ****ˇ, n**v** 3) |
41+
|| ai | 百 (ㄅ****ˇ, b**ai** 3) |
42+
|| ei | 北 (ㄅ****ˇ, b**ei** 3) |
43+
| ㄨㄟ | ui | 對 (ㄉ**ㄨㄟ**ˋ, d**ui** 4) |
44+
|| ao | 號 (ㄏ****ˋ, h**ao** 4) |
45+
|| ou | 走 (ㄗ****ˇ, z**ou** 3) |
46+
| ㄧㄡ | iu | 牛 (ㄋ**ㄧㄡ**ˊ, n**iu** 2) |
47+
| ㄧㄝ | ie | 謝 (ㄒ**ㄧㄝ**ˋ, x**ie** 4) |
48+
| ㄩㄝ | ue | 略 (ㄌ**ㄩㄝ**ˋ, l**ue** 4) |
49+
|| an | 喊 (ㄏ****ˇ, h**an** 3) |
50+
|| en | 肯 (ㄎ****ˇ, k**en** 3) |
51+
| ㄧㄣ | in | 賓 (ㄅ**ㄧㄣ**, b**in** 1) |
52+
| ㄨㄣ | un | 尊 (ㄗ**ㄨㄣ**, z**un** 1) |
53+
|| ang | 朗 (ㄌ****ˇ, l**ang** 3) |
54+
|| eng | 恆 (ㄏ****ˊ, h**eng** 2) |
55+
| ㄧㄥ | ing | 贏 (**ㄧㄥ**ˊ, y**ing** 2) |
56+
| ㄨㄥ | ong | 紅 (ㄏ**ㄨㄥ**ˊ, h**ong** 2) |
57+
| ㄧㄚ | ia | 家 (ㄐ**ㄧㄚ**, j**ia** 1) |
58+
| ㄧㄢ | ian | 麵 (ㄇ**ㄧㄢ**ˋ, m**ian** 4) |
59+
| ㄧㄤ | iang | 象 (ㄒ**ㄧㄤ**ˋ, x**iang** 4) |
60+
| ㄧㄠ | iao | 表 (ㄅ**ㄧㄠ**ˇ, b**iao** 3) |
61+
| ㄩㄥ | iong | 兄 (ㄒ**ㄩㄥ**, x**iong** 1) |
62+
| ㄨㄚ | ua | 花 (ㄏ**ㄨㄚ**, h**ua** 1) |
63+
| ㄨㄞ | uai | 帥 (ㄕ**ㄨㄞ**ˋ, sh**uai** 4) |
64+
| ㄨㄢ | uan | 短 (ㄉ**ㄨㄢ**ˇ, d**uan** 3) |
65+
| ㄨㄤ | uang | 廣 (ㄍ**ㄨㄤ**ˇ, g**uang** 3) |
66+
| ㄨㄛ | uo | 多 (ㄉ**ㄨㄛ**, d**uo** 1) |
67+
68+
### Bopomofo Whole syllable
69+
70+
| Bopomofo | Pinyin | `sapi` Example <br> (Bopomofo, Pinyin) |
71+
|----------|--------|----------------------------------|
72+
|| zhi | 知 (****, **zhi** 1) |
73+
|| chi | 吃 (****, **chi** 1) |
74+
|| shi | 诗 (****, **shi** 1) |
75+
|| ri | 日 (****, **ri** 1) |
76+
|| zi | 资 (****, **zi** 1) |
77+
|| ci | 词 (****ˊ, **ci** 2) |
78+
|| si | 斯 (****, **si** 1) |
79+
|| yi | 衣 (****, **yi** 1) |
80+
| ㄨㄛ | wo | 我 (**ㄨㄛ**ˇ, **wo** 3) |
81+
|| wu | 屋 (****, **wu** 1) |
82+
|| yu | 鱼 (****ˊ, **yu** 2) |
83+
| ㄧㄝ | ye | 叶 (**ㄧㄝ**ˋ, **ye** 4) |
84+
| ㄩㄝ | yue | 月 (**ㄩㄝ**ˋ, **yue** 4) |
85+
|| er | 耳 (****ˇ, **er** 3) |
86+
| ㄩㄢ | yuan | 圆 (**ㄩㄢ**ˊ, **yuan** 2) |
87+
| ㄧㄣ | yin | 音 (**ㄧㄣ**, **yin** 1) |
88+
| ㄩㄣ | yun | 云 (**ㄩㄣ**, **yun** 1) |
89+
| ㄧㄥ | ying | 英 (**ㄧㄥ**, **ying** 1) |
90+
| ㄩㄥ | yong | 擁 (**ㄩㄥ**, **yong** 1) |
91+
|| a | 啊 (****, **a** 1) |
92+
|| o | 噢 (****, **o** 1) |
93+
|| e | 鹅 (****ˊ, **e** 2) |
94+
|| ai | 爱 (****ˋ, **ai** 4) |
95+
|| ei | 欸 (****, **ei** 1) |
96+
|| ao | 奥 (****ˋ, **ao** 4) |
97+
|| ou | 偶 (****ˇ, **ou** 3) |
98+
|| an | 安 (****, **an** 1) |
99+
|| en | 恩 (****, **en** 1) |
100+
|| ang | 昂 (****ˊ, **ang** 2) |
101+
|| eng | 鞥 (****, **eng** 1) |
102+
|| ê | ㄝ (****, **ê** 1) |
103+
104+
### Bopomofo tone
105+
106+
| Bopomofo | Tone number | `sapi` Example <br> (Bopomofo, Pinyin)|
107+
|----------|-------------|--------------------------------|
108+
| ˉ | 1 | 八 (ㄅㄚ or ㄅㄚ**ˉ**, ba **1**) |
109+
| ˊ | 2 | 拔 (ㄅㄚ**ˊ**, ba **2**) |
110+
| ˇ | 3 | 把 (ㄅㄚ**ˇ**, ba **3**) |
111+
| ˋ | 4 | 坝 (ㄅㄚ**ˋ**, ba **4**) |
112+
| ˙ | 5 | 吧 (ㄅㄚ**˙**, ba **5**) |

articles/cognitive-services/Speech-Service/speech-ssml-phonetic-sets.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ See the sections in this article for the phonemes that are specific to each loca
133133
## zh-CN
134134
[!INCLUDE [zh-CN](./includes/phonetic-sets/text-to-speech/zh-cn.md)]
135135

136+
## zh-HK
137+
[!INCLUDE [zh-HK](./includes/phonetic-sets/text-to-speech/zh-hk.md)]
138+
136139
## zh-TW
137140
[!INCLUDE [zh-TW](./includes/phonetic-sets/text-to-speech/zh-tw.md)]
138141

0 commit comments

Comments
 (0)