mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-04 06:32:20 +00:00
[1.47.03c]
Phoneme definition files: added prev2PhW() and next3PhW(). Added language: ms (Malay). git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@332 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+28
-6
@@ -228,31 +228,50 @@ where the <code>ELSE</code> and multiple <code>ELSE</code> parts are optional.
|
||||
<p>
|
||||
Multiple conditions may be joined with <code>AND</code> or <code>OR</code>, but not a mixture of <code>AND</code>s and <code>OR</code>s.
|
||||
<p>
|
||||
A condition may be preceded by <code>NOT</code>. For example:
|
||||
<pre>
|
||||
IF <condition> AND NOT <condition> THEN
|
||||
<statements>
|
||||
ENDIF
|
||||
</pre>
|
||||
<p>
|
||||
<strong>Condition</strong>
|
||||
Can be:
|
||||
<ul>
|
||||
<dl>
|
||||
<dt>thisPh(<attribute>)
|
||||
<dd>Test this current phoneme
|
||||
<p>
|
||||
<dt>prevPh(<attribute>)
|
||||
<dd>Test the previous phoneme
|
||||
<p>
|
||||
<dt>prevPhW(<attribute>)
|
||||
<dd>Test the previous phoneme, but only within the same word. Returns false if there is no previous phoneme in the word.
|
||||
<p>
|
||||
<dt>thisPh(<attribute>)
|
||||
<dd>Test this current phoneme
|
||||
<dt>prev2PhW(<attribute>)
|
||||
<dd>Test the phoneme before the previous phoneme, but only within the same word. Returns false if it is not in this word.
|
||||
<p>
|
||||
<dt>nextPh(<attribute>)
|
||||
<dd>Test the following phoneme
|
||||
<p>
|
||||
<dt>nextPhW(<attribute>)
|
||||
<dd>Test the following phoneme, but only within the same word. Returns false if there is no following phoneme in the word.
|
||||
<p>
|
||||
<dt>next2Ph(<attribute>)
|
||||
<dd>Test the phoneme after the next phoneme.
|
||||
<p>
|
||||
<dt>nextPhW(<attribute>)
|
||||
<dd>Test the next phoneme, but only within the same word. Returns false if there is no following phoneme in the word.
|
||||
<p>
|
||||
<dt>next2PhW(<attribute>)
|
||||
<dd>Test the phoneme after the next phoneme, but only within the same word. Returns false if not found before the word end.
|
||||
<p>
|
||||
<dt>next3PhW(<attribute>)
|
||||
<dd>Test the third phoneme after the current phoneme, but only within the same word. Returns false if not found before the word end.
|
||||
<p>
|
||||
<dt>nextVowel(<attribute>)
|
||||
<dd>Test the next vowel after the current phoneme, but only within the same word. Returns false if there is none.
|
||||
<p>
|
||||
<dt>prevVowel(<attribute>)
|
||||
<dd>Test the previous vowel before the current phoneme, but only within the same word. Returns false if there is none.
|
||||
<p>
|
||||
<dt>PreVoicing()
|
||||
<dd>This is used as part of the instructions for voiced stop consonants (eg. [d] [g]). If true then produce a voiced murmur before the stop.
|
||||
<p>
|
||||
@@ -263,6 +282,7 @@ Can be:
|
||||
<strong>Attributes</strong>
|
||||
<ul>
|
||||
Note: Additional attributes could be added to eSpeak if needed.
|
||||
<p>
|
||||
<dl>
|
||||
<dt><phoneme name>
|
||||
<dd>True if the phoneme has this phoneme name.
|
||||
@@ -294,8 +314,10 @@ Note: Additional attributes could be added to eSpeak if needed.
|
||||
<dt>isWordEnd
|
||||
<dd>True if this is the final phoneme in a word.
|
||||
<p>
|
||||
<dt>isFirstVowel
|
||||
<dt>isSecondVowel
|
||||
<dt>isFinalVowel
|
||||
<dd>True if this is the last vowel in a word.
|
||||
<dd>True if this is the First, Second, or Last vowel in a word.
|
||||
<p>
|
||||
<dt>isAfterStress
|
||||
<dd>True if this phoneme is after the stressed vowel in a word.
|
||||
|
||||
Reference in New Issue
Block a user