Last reviewed: 3/23/2024 11:22:12 AM

<lexicon>

The lexicon element serves as a reference to a document of pronunciations. The pronunciation information contained within a lexicon is used for tokens appearing within the referencing document. Any number of lexicon elements may occur as immediate children of the speak element.

<?xml version="1.0"?>
<speak version="1.0"
       xmlns="http://www.w3.org/2001/10/synthesis"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
                 http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
       xml:lang="en-US">

  <lexicon uri="http://www.example.com/lexicon.file"/>
  <lexicon uri="http://www.example.com/strange-words.file" type="media-type"/>

</speak>

Attributes

type

Optional. Specifies the media type of the pronunciation lexicon document.

uri

The URI of the lexicon document.

Children

none

Parents

<speak>

Source: Speech Synthesis Markup Language (SSML) Version 1.0