Browse Source

Merge branch 'development'

Conflicts:
	docs/speak_lib.h
master
Reece H. Dunn 12 years ago
parent
commit
f88222cf26
5 changed files with 15 additions and 11 deletions
  1. 1
    1
      dictsource/hi_list
  2. 1
    1
      dictsource/hi_rules
  3. 6
    5
      docs/phonemes.html
  4. 6
    3
      src/phonemelist.cpp
  5. 1
    1
      src/readclause.cpp

+ 1
- 1
dictsource/hi_list View File

श S@ श S@
ष s.@ // retroflex [S] ष s.@ // retroflex [S]
स s@ स s@
ह H@-
ह H@
क़ q@ क़ q@
ख़ x@ ख़ x@
ग़ Q@ ग़ Q@

+ 1
- 1
dictsource/hi_rules View File

स (B s स (B s


.group ह .group ह
ह H
ह HV
ह (B H ह (B H





+ 6
- 5
docs/phonemes.html View File

<table> <table>
<tbody valign=top> <tbody valign=top>
<tr> <tr>
<td width=25><code>[p]</code><td width=80>
<td width=25><code>[b]</code><td width=80>
<td width=25><code>[p]</code><td width=150>
<td width=25><code>[b]</code><td width=150>
<tr> <tr>
<td><code>[t]</code><td> <td><code>[t]</code><td>
<td><code>[d]</code><td> <td><code>[d]</code><td>
<table> <table>
<tbody valign=top> <tbody valign=top>
<tr><td width=25><code>[@]</code> <tr><td width=25><code>[@]</code>
<td width=60>alph<b>a</b><td width=80>schwa
<td width=60>alph<b>a</b><td width=400>schwa


<tr><td><code>[3]</code> <tr><td><code>[3]</code>
<td>bett<b>er</b><td>rhotic schwa. In British English this is the same as <code>[@]</code>, but it includes 'r' colouring in American and other rhotic accents. In these cases a separate <code>[r]</code> should not be included unless it is followed immediately by another vowel. <td>bett<b>er</b><td>rhotic schwa. In British English this is the same as <code>[@]</code>, but it includes 'r' colouring in American and other rhotic accents. In these cases a separate <code>[r]</code> should not be included unless it is followed immediately by another vowel.


<tr><td><code>[a]</code><td>tr<b>a</b>p <tr><td><code>[a]</code><td>tr<b>a</b>p
<tr><td><code>[aa]</code><td>b<b>a</b>th<td>This is <code>[a]</code> in some accents, <code>[A:]</code> in others. <tr><td><code>[aa]</code><td>b<b>a</b>th<td>This is <code>[a]</code> in some accents, <code>[A:]</code> in others.
<tr><td><code>[a2]</code><td><b>a</b>bout<td>This may be <code>[@]</code> or may be a more open schwa.
<tr><td><code>[a#]</code><td><b>a</b>bout<td>This may be <code>[@]</code> or may be a more open schwa.
<tr><td><code>[A:]</code><td>p<b>al</b>m <tr><td><code>[A:]</code><td>p<b>al</b>m
<tr><td><code>[A@]</code><td>st<b>ar</b>t <tr><td><code>[A@]</code><td>st<b>ar</b>t
<tr><td><p> <tr><td><p>


</tbody> </tbody>
</table> </table>

<p>
<code> [:] </code> can be used to lengthen a vowel, eg <code> [e:]</code>


</body> </body>
</html> </html>

+ 6
- 3
src/phonemelist.cpp View File

ph = phoneme_tab[plist3->phcode]; ph = phoneme_tab[plist3->phcode];
plist3[0].ph = ph; plist3[0].ph = ph;


if((plist3->phcode == phonSWITCH) && !(plist3->synthflags & SFLAG_EMBEDDED)) // ?? phonSWITCH can't have SFLAG_EMBEDDED ??
if(plist3->phcode == phonSWITCH)
{ {
if((plist3[1].phcode == phonSWITCH) || ((plist3[1].type == phPAUSE) && (plist3[2].phcode == phonSWITCH)))
continue; // next phoneme is also a phonSWITCH, so ignore
if(!(plist3->synthflags & SFLAG_EMBEDDED)) // ?? phonSWITCH can't have SFLAG_EMBEDDED ??
{
if((plist3[1].phcode == phonSWITCH) || ((plist3[1].type == phPAUSE) && (plist3[2].phcode == phonSWITCH)))
continue; // next phoneme is also a phonSWITCH, so ignore
}


// change phoneme table // change phoneme table
SelectPhonemeTable(plist3->tone_ph); SelectPhonemeTable(plist3->tone_ph);

+ 1
- 1
src/readclause.cpp View File

} }
} }


if((only==0) && (phonemes[0] == 0) && (tr->translator_name != L('e','n')))
if((only==0) && ((phonemes[0] == 0) || (phonemes[0] == phonSWITCH)) && (tr->translator_name != L('e','n')))
{ {
// not found, try English // not found, try English
SetTranslator2("en"); SetTranslator2("en");

Loading…
Cancel
Save