From 92e6d2b671076fd200896b82536bfa71d9f1c6de Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Sat, 26 Dec 2015 14:45:26 +0000 Subject: [PATCH] Fix and update the ssml.md documentation as markup.md. --- Makefile.am | 1 + docs/index.md | 2 +- docs/{ssml.md => markup.md} | 8 +++- docs/ssml.html | 94 ------------------------------------- 4 files changed, 8 insertions(+), 97 deletions(-) rename docs/{ssml.md => markup.md} (87%) delete mode 100644 docs/ssml.html diff --git a/Makefile.am b/Makefile.am index 18ec8d92..ce5b26e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/docs/index.md b/docs/index.md index 4ce0f1c7..1bcbee24 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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) ---------- diff --git a/docs/ssml.md b/docs/markup.md similarity index 87% rename from docs/ssml.md rename to docs/markup.md index 377f6889..a0d6163d 100644 --- a/docs/ssml.md +++ b/docs/markup.md @@ -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: **\** * field="punctuation" mode=none,all,some -* field="capital_letters" mode=no,spelling,icon,pitch +* field="capital\_letters" mode=no,spelling,icon,pitch **\** src diff --git a/docs/ssml.html b/docs/ssml.html deleted file mode 100644 index a1473b02..00000000 --- a/docs/ssml.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - eSpeak - - - - -
-

TEXT MARKUP

-
-

SSML: Speech Synthesis Markup Language

-The following markup tags and attributes are recognised:

-

-

<speak> -

    -
  • xml:base   (the value is just passed back as a parameter with the UriCallback() function) -
  • xml:lang -
- -

<voice> -

    -
  • xml:lang -
  • name -
  • age -
  • variant -
  • gender -
-

<prosody> -

    -
  • rate -
  • volume -
  • pitch -
  • range -
-

<say-as> -

    -
  • interpret-as="characters" -
  • interpret-as="characters"  format="glyphs" -
  • interpret-as="tts:key" -
  • interpret-as="tts:char" -
  • interpret-as="tts:digits" -
-

<mark> name -

<s> -

    -
  • xml:lang -
-

<p> -

    -
  • xml:lang -
-

<sub> alias -

<tts:style> -

    -
  • field="punctuation"   mode=none,all,some -
  • field="capital_letters"   mode=no,spelling,icon,pitch -
-

<audio> src -

<emphasis> -

    -
  • level -
-

<break> -

    -
  • strength -
  • time -
- -
-

HTML

-eSpeak can speak HTML text directly, or text containing both SSML and HTML markup.
-Any unrecognised tags are ignored.

-The following tags case a sentence break.
-<br>   -<dd>   -<li>   -<img>   -<td>   -

-The following tags case a paragraph break.
-<h1>   -<h2>   -<h3>   -<h4>   -<hr>   -

-Text between the following tags is ignored.
-<script>   ...   </script>  
-<style>   ...   </style>  
-

- -