Browse Source

Fix and update the ssml.md documentation as markup.md.

master
Reece H. Dunn 9 years ago
parent
commit
92e6d2b671
4 changed files with 8 additions and 97 deletions
  1. 1
    0
      Makefile.am
  2. 1
    1
      docs/index.md
  3. 6
    2
      docs/markup.md
  4. 0
    94
      docs/ssml.html

+ 1
- 0
Makefile.am View File

@@ -65,6 +65,7 @@ docs: docs/index.html \
docs/add_language.html \
docs/dictionary.html \
docs/intonation.html \
docs/markup.html \
docs/mbrola.html \
docs/phontab.html \
docs/voices.html \

+ 1
- 1
docs/index.md View File

@@ -8,7 +8,7 @@
- [MBROLA Voices](mbrola.md)
- [Phoneme Tables](phontab.md)
- [Intonation](intonation.md)
- [Markup Tags](ssml.md)
- [Markup Tags](markup.md)
- [License](../COPYING)

----------

docs/ssml.md → docs/markup.md View File

@@ -1,5 +1,9 @@
# Text Markup

# Text markup
- [SSML: Speech Synthesis Markup Language](#ssml-speech-synthesis-markup-language)
- [HTML](#html)

-----

## SSML: Speech Synthesis Markup Language

@@ -48,7 +52,7 @@ The following markup tags and attributes are recognised:
**\<tts:style\>**

* field="punctuation" mode=none,all,some
* field="capital_letters" mode=no,spelling,icon,pitch
* field="capital\_letters" mode=no,spelling,icon,pitch

**\<audio\>** src


+ 0
- 94
docs/ssml.html View File

@@ -1,94 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<title>eSpeak</title>
<meta name="GENERATOR" content="Quanta Plus">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<hr>
<h2>TEXT MARKUP</h2>
<hr>
<h3>SSML: Speech Synthesis Markup Language</h3>
The following markup tags and attributes are recognised:<p>
<dl></dl>
<p><b>&lt;speak&gt;</b>
<ul>
<li>xml:base &nbsp; (the value is just passed back as a parameter with the UriCallback() function)
<li>xml:lang
</ul>

<p><b>&lt;voice&gt;</b>
<ul>
<li>xml:lang
<li>name
<li>age
<li>variant
<li>gender
</ul>
<p><b>&lt;prosody&gt;</b>
<ul>
<li>rate
<li>volume
<li>pitch
<li>range
</ul>
<p><b>&lt;say-as&gt;</b>
<ul>
<li>interpret-as="characters"
<li>interpret-as="characters" &nbsp;format="glyphs"
<li>interpret-as="tts:key"
<li>interpret-as="tts:char"
<li>interpret-as="tts:digits"
</ul>
<p><b>&lt;mark&gt;</b> name
<p><b>&lt;s&gt;</b>
<ul>
<li>xml:lang
</ul>
<p><b>&lt;p&gt;</b>
<ul>
<li>xml:lang
</ul>
<p><b>&lt;sub&gt;</b> alias
<p><b>&lt;tts:style&gt;</b>
<ul>
<li>field="punctuation" &nbsp; mode=none,all,some
<li>field="capital_letters" &nbsp; mode=no,spelling,icon,pitch
</ul>
<p><b>&lt;audio&gt;</b> src
<p><b>&lt;emphasis&gt;</b>
<ul>
<li>level
</ul>
<p><b>&lt;break&gt;</b>
<ul>
<li>strength
<li>time
</ul>
</dl>
<hr>
<h3>HTML</h3>
eSpeak can speak HTML text directly, or text containing both SSML and HTML markup.<br>
Any unrecognised tags are ignored.<p>
The following tags case a sentence break.<br>
<b>&lt;br&gt; &nbsp;
&lt;dd&gt; &nbsp;
&lt;li&gt; &nbsp;
&lt;img&gt; &nbsp;
&lt;td&gt; &nbsp;
</b><p>
The following tags case a paragraph break.<br>
<b>&lt;h1&gt; &nbsp;
&lt;h2&gt; &nbsp;
&lt;h3&gt; &nbsp;
&lt;h4&gt; &nbsp;
&lt;hr&gt; &nbsp;
</b><p>
Text between the following tags is ignored.<br>
<b>&lt;script&gt; &nbsp; ... &nbsp; &lt;/script&gt; &nbsp;<br>
&lt;style&gt; &nbsp; ... &nbsp; &lt;/style&gt; &nbsp;<br>
</b><p>
</body>
</html>

Loading…
Cancel
Save