Schema for specifying how to pronounce text
As devices are reading text more and more, there is greater need for specifying how to pronounce a bit of text. I realize this could get complicated fast. As most of the cases I have heard revolve around names, I propose the following to start exploring how to specify pronunciation.
- Create a new property
namePronunciationon Thing. The property expects the new typeTextPronunciation. TextProncunciationhas the following properties:text: The text to be pronounced.phoneticText: The phonetic representation of the text property in IPA.audio: An AudioObject that gives the pronunciation
An example would be:
{
"@context": "http://schema.org/",
"@type": "City",
"namePronunciation": {
"@type": "TextPronunciation",
"text": "Worcester",
"phoneticText": "/ˈwʊstɚ/"
}
}