Author Topic: Number 4 pronunciation  (Read 1459 times)

Meridian

  • Newbie
  • *
  • Posts: 6
Number 4 pronunciation
« on: June 02, 2020, 06:29:50 AM »
Hi guys,

The speech engine seems to have real problems saying the number 4, pronouncing it "foe" which sounds a bit weird. What can I do to get it to say the number correctly.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: Number 4 pronunciation
« Reply #1 on: June 02, 2020, 06:41:48 AM »
Which text-to-speech voice are you using? Does this occur with a specific phrase?


Pronunciation is up to the chosen TTS engine, which is not part of VoiceAttack itself.

Both Microsoft David Desktop and Microsoft Zira Desktop seem to pronounce that number as "four" on my machine, as intended.


This topic may be relevant.

Meridian

  • Newbie
  • *
  • Posts: 6
Re: Number 4 pronunciation
« Reply #2 on: June 02, 2020, 07:22:13 AM »
I'm using Cerevoice "Lauren".

As an example it's happening when saying the name of a body in a system, Like "Body foe", instead of "body four"

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: Number 4 pronunciation
« Reply #3 on: June 02, 2020, 07:29:42 AM »
Non-Microsoft voices may not use dictionary information, and may not accept all SSML tags.

You could contact CereProc about this issue, though the pronunciation may be appropriate for the UK English accent that voice is designed for.

Meridian

  • Newbie
  • *
  • Posts: 6
Re: Number 4 pronunciation
« Reply #4 on: June 02, 2020, 11:59:33 AM »
I got a reply from Cereproc telling me to try the following tag:

<lex phonemes='f oo1 r'>four</lex>

But I have no clue what that means.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: Number 4 pronunciation
« Reply #5 on: June 02, 2020, 12:04:31 PM »
Presumably that's an SSML tag.

Try
Code: [Select]
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-UK">
<lex phonemes='f oo1 r'>four</lex>
</speak>
in a "Say Something with Text-To-Speech" action; Make sure the "Use Speech Synthesis Markup Language (SSML)" option is checked.