mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 15:24:02 +00:00
Fix and update the ssml.md documentation as markup.md.
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
----------
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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><speak></b>
|
||||
<ul>
|
||||
<li>xml:base (the value is just passed back as a parameter with the UriCallback() function)
|
||||
<li>xml:lang
|
||||
</ul>
|
||||
|
||||
<p><b><voice></b>
|
||||
<ul>
|
||||
<li>xml:lang
|
||||
<li>name
|
||||
<li>age
|
||||
<li>variant
|
||||
<li>gender
|
||||
</ul>
|
||||
<p><b><prosody></b>
|
||||
<ul>
|
||||
<li>rate
|
||||
<li>volume
|
||||
<li>pitch
|
||||
<li>range
|
||||
</ul>
|
||||
<p><b><say-as></b>
|
||||
<ul>
|
||||
<li>interpret-as="characters"
|
||||
<li>interpret-as="characters" format="glyphs"
|
||||
<li>interpret-as="tts:key"
|
||||
<li>interpret-as="tts:char"
|
||||
<li>interpret-as="tts:digits"
|
||||
</ul>
|
||||
<p><b><mark></b> name
|
||||
<p><b><s></b>
|
||||
<ul>
|
||||
<li>xml:lang
|
||||
</ul>
|
||||
<p><b><p></b>
|
||||
<ul>
|
||||
<li>xml:lang
|
||||
</ul>
|
||||
<p><b><sub></b> alias
|
||||
<p><b><tts:style></b>
|
||||
<ul>
|
||||
<li>field="punctuation" mode=none,all,some
|
||||
<li>field="capital_letters" mode=no,spelling,icon,pitch
|
||||
</ul>
|
||||
<p><b><audio></b> src
|
||||
<p><b><emphasis></b>
|
||||
<ul>
|
||||
<li>level
|
||||
</ul>
|
||||
<p><b><break></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><br>
|
||||
<dd>
|
||||
<li>
|
||||
<img>
|
||||
<td>
|
||||
</b><p>
|
||||
The following tags case a paragraph break.<br>
|
||||
<b><h1>
|
||||
<h2>
|
||||
<h3>
|
||||
<h4>
|
||||
<hr>
|
||||
</b><p>
|
||||
Text between the following tags is ignored.<br>
|
||||
<b><script> ... </script> <br>
|
||||
<style> ... </style> <br>
|
||||
</b><p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user