Skip to content

Latest commit

 

History

History
151 lines (103 loc) · 5.26 KB

speech-ssml-phonetic-sets.md

File metadata and controls

151 lines (103 loc) · 5.26 KB
title titleSuffix description author manager ms.service ms.topic ms.date ms.author
Speech phonetic alphabets - Speech service
Azure AI services
This article presents Speech service phonetic alphabet and International Phonetic Alphabet (IPA) examples.
jiajzhan
junwg
azure-ai-speech
conceptual
1/22/2024
jiajzhan

SSML phonetic alphabets

Phonetic alphabets are used with the Speech Synthesis Markup Language (SSML) to improve the pronunciation of text to speech voices. To learn when and how to use each alphabet, see Use phonemes to improve pronunciation.

Speech service supports the International Phonetic Alphabet (IPA) suprasegmentals that are listed here. You set ipa as the alphabet in SSML.

ipa Symbol Note
ˈ Primary stress Don't use single quote ( or ') though they look similar.
ˌ Secondary stress Don't use comma (,) though it looks similar.
. Syllable boundary
ː Long Don't use colon (: or ) though they look similar.
Linking

Tip

You can use the international phonetic alphabet keyboard to create the correct ipa suprasegmentals.

For some locales, Speech service defines its own phonetic alphabets, which ordinarily map to the International Phonetic Alphabet (IPA). The eight locales that support the Microsoft Speech API (SAPI, or sapi) are en-US, fr-FR, de-DE, es-ES, ja-JP, zh-CN, zh-HK, and zh-TW. For those eight locales, you set sapi or ipa as the alphabet in SSML.

See the sections in this article for the phonemes that are specific to each locale.

Note

The following tables list viseme IDs corresponding to phonemes for different locales. When viseme ID is 0, it indicates silence.

ar-EG/ar-SA

[!INCLUDE ar-EG]

bg-BG

[!INCLUDE bg-BG]

ca-ES

[!INCLUDE ca-ES]

cs-CZ

[!INCLUDE cs-CZ]

da-DK

[!INCLUDE da-DK]

de-DE/de-CH/de-AT

[!INCLUDE de-DE]

el-GR

[!INCLUDE el-GR]

en-GB/en-IE/en-AU

[!INCLUDE en-GB]

:::no-loc text="en-US/en-CA":::

[!INCLUDE en-US]

es-ES

[!INCLUDE es-ES]

es-MX

[!INCLUDE es-MX]

fi-FI

[!INCLUDE fi-FI]

fr-FR/fr-CA/fr-CH

[!INCLUDE fr-FR]

he-IL

[!INCLUDE he-IL]

hr-HR

[!INCLUDE hr-HR]

hu-HU

[!INCLUDE hu-HU]

id-ID

[!INCLUDE id-ID]

it-IT

[!INCLUDE it-IT]

ja-JP

[!INCLUDE ja-JP]

ko-KR

[!INCLUDE ko-KR]

ms-MY

[!INCLUDE ms-MY]

nb-NO

[!INCLUDE nb-NO]

nl-NL/nl-BE

[!INCLUDE nl-NL]

pl-PL

[!INCLUDE pl-PL]

pt-BR

[!INCLUDE pt-BR]

pt-PT

[!INCLUDE pt-PT]

ro-RO

[!INCLUDE ro-RO]

ru-RU

[!INCLUDE ru-RU]

sk-SK

[!INCLUDE sk-SK]

sl-SI

[!INCLUDE sl-SI]

sv-SE

[!INCLUDE sv-SE]

th-TH

[!INCLUDE th-TH]

tr-TR

[!INCLUDE tr-TR]

vi-VN

[!INCLUDE vi-VN]

zh-CN

[!INCLUDE zh-CN]

zh-HK

[!INCLUDE zh-HK]

zh-TW

[!INCLUDE zh-TW]

Map X-SAMPA to IPA

[!INCLUDE X-SAMPA]