mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-24 20:31:15 +00:00
Merge branch 'development'
Conflicts: docs/speak_lib.h src/main.h src/speak_lib.cpp src/spect.h
This commit is contained in:
@@ -268,18 +268,18 @@ Note, that matching characters in the <pre> part do not affect the syllabl
|
||||
</ul>
|
||||
|
||||
eg.
|
||||
<pre> @) ly (_$2 lI // "ly", at end of a word with at least one other
|
||||
<pre> @) ly (_S2 lI // "ly", at end of a word with at least one other
|
||||
// syllable, is a suffix pronounced [lI]. Remove
|
||||
// it and retranslate the word.
|
||||
|
||||
_) un (@P2 ¬Vn // "un" at the start of a word is an unstressed
|
||||
_) un (@P2 %Vn // "un" at the start of a word is an unstressed
|
||||
// prefix pronounced [Vn]
|
||||
_) un (i ju: // ... except in words starting "uni"
|
||||
_) un (inP2 ,Vn // ... but it is for words starting "unin"
|
||||
</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 made for other languages.
|
||||
S<number> may be followed by additional letters (eg. S2ei ). Some of these are probably specific to English, but similar functions could be made for other languages.
|
||||
|
||||
<ul><table>
|
||||
<tbody>
|
||||
|
||||
@@ -255,6 +255,20 @@ Used to specify a language to be used to speak words which are written in a non-
|
||||
Alphabets names include: latin, cyr (cyrillic), ar (arabic). The default language for latin alphabet is English.
|
||||
</dd>
|
||||
<p>
|
||||
<dt>
|
||||
<strong>dictdialect <dialect></strong><br>
|
||||
<dd>
|
||||
Words can be marked in the *_list or *_rules file to be spoken using a foreign voice. This <b>dictdialect</b> attribute
|
||||
can be used to specify which dialect of the foreign language should be used, instead of the default dialect.
|
||||
The currently available dialects are:<br>
|
||||
<b>en-us</b> (US English)<br>
|
||||
<b>es-la</b> (Latin American Spanish).<br>
|
||||
eg.
|
||||
<pre> dictdialect en-us
|
||||
</pre>
|
||||
This means that any words or rules which are maked with _^_EN will be spoken with the US English voice instead of the default UK English voice.
|
||||
</dd>
|
||||
<p>
|
||||
Additional attributes are available to set various internal options which control how language is processed. These would normally be set in the program code rather than in a voice file.
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
Reference in New Issue
Block a user