mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
[1.44.02]
Fix: crash with very long numbers. Very long nubers ( > 14 digits) now spoken as individual digits. Fix: bracket was interfering with recognizing last-word in a clause. Lang=el fix: all words were spoken as individual letters. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@252 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+19
-7
@@ -251,14 +251,18 @@ Note, that matching characters in the <pre> part do not affect the syllabl
|
||||
<td><strong>N</strong></td>
|
||||
<td>Only use this rule if the word is not a retranslation after removing a suffix.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>T</strong></td>
|
||||
<td>Only use this rule if the word in found in the *_list file with the <b>$alt</b> attribute.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>#</strong></td>
|
||||
<td>(English specific) change the next "e" into a special character "E"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>$w_alt<br>$w_alt2<br>$w_alt3</strong></td>
|
||||
<td>Only use this rule if the word is found in the *_list file with the <b>$alt</b>, <b>$alt2</b> or <b>$alt3</b> attribute respectively.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>$p_alt<br>$p_alt2<br>$p_alt3</strong></td>
|
||||
<td>Only use this rule if the part-word, up to and including the pre and match parts of this rule, is found in the *_list file with the <b>$alt</b>, <b>$alt2</b> or <b>$alt3</b> attribute respectively.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</ul>
|
||||
@@ -275,7 +279,7 @@ eg.
|
||||
</pre>
|
||||
S and P must be at the end of the <post> string.
|
||||
<p>
|
||||
S<number> may be followed by additonal letters (eg. S2ei ). Some of these are probably specific to English, but similar functions could be used for other languages.
|
||||
S<number> may be followed by additonal letters (eg. S2ei ). Some of these are probably specific to English, but similar functions could be made for other languages.
|
||||
|
||||
<ul><table>
|
||||
<tbody>
|
||||
@@ -488,9 +492,13 @@ A word (or group of words) may be given one or more flags, either instead of, or
|
||||
<td>$hasdot</td>
|
||||
<td>Use this pronunciation if the word is followed by a dot. (This attribute also implies $dot).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$sentence</td>
|
||||
<td>The rule only applies if the clause includes end-of-sentence (i.e. it is not terminated by a comma). For example, "$atend $sentence" means that the rule only applies at the end of a sentence.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$abbrev</td>
|
||||
<td>This has two meanings.<br> 1. If there is no phoneme string: Speak the word as individual letters, even if it contains a vowel (eg. "abc" should be spoken as "a" "b" "c").<br>2. If there is a phoneme string: This word is capitalized because it is an abbreviation and capitalization does indicate emphasis (if the "emphasize all-caps" is on).</td>
|
||||
<td>This has two meanings.<br> 1. If there is no phoneme string: Speak the word as individual letters, even if it contains a vowel (eg. "abc" should be spoken as "a" "b" "c").<br>2. If there is a phoneme string: This word is capitalized because it is an abbreviation and capitalization does not indicate emphasis (if the "emphasize all-caps" is on).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
@@ -499,9 +507,13 @@ A word (or group of words) may be given one or more flags, either instead of, or
|
||||
<tr>
|
||||
<td>$accent</td>
|
||||
<td>Used for the pronunciation of a single alphabetic character. The character name is spoken as the base-letter name plus the accent (diacritic) name. eg. It can be used to specify that "â" is spoken as "a" "circumflex".</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$combine</td>
|
||||
<td>This word is treated as though it is combined with the following word with a hyphen. This may be subject to fuither conditions for certain languages.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$alt $alt2</td>
|
||||
<td>$alt $alt2 $alt3</td>
|
||||
<td>These are language specific. Their use should be described in the language's **_list file</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user