Using French Text to Speech

The Tellme Voice Application Network supports a female France French voice for French Text to Speech (TTS) processing. This article demonstrates how to access this functionality.

To access this TTS functionality, set the name attribute of the voice element to "hortense" as shown in the following example.

<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="2.1"
        <voice name="hortense">
           Salut Jeanne ! dit Pierre. Comment vas-tu ? Ah, salut Pierre !
           As-tu passe un bon weekend ? Oui, merci, repond-elle. Mais... 
          Attends, je dois te dire quelque chose d'important

For information about the Speech Synthesis Markup Language (SSML) elements that the TTS engine supports, see the Speech Synthesis Markup Element Reference.

This section covers how phone numbers and mailing addresses should be formatted and how they are read by the TTS engine.

  • In French, the comma is used as a decimal point.
  • When writing numbers, either a period or a space may be used to separate every three digits.

  • Brief time breaks occur between number segments.
  • Phone numbers are not pronounced in pairs, as regular numbers are; digits are read individually.
    Text Pronunciation
    +33 4 74 85 21 90 "Plus trentes- trois, quatre, soixante quatorze, quatre-vignt cinq, vingt-et-un, quatre-vignt dix"
    33474852190 "Trois trois, quarante sept, quarante huite, cinquant deux, dix-neuf, zero"
    0590 546 234 "Zero cinq neuf zero cinq quatre sixe deux trois quatre"

  • Phone number delimiters are not pronounced.
  • You can use the SSML say-as element to ensure that the TTS engine pronounces a phone number correctly.
  • Numbers in an address are read as numbers (for details, see the Numbers section)
  • United States addresses are typically in the following format:
  • To ensure that the TTS engine pronounces the state abbreviation correctly, be sure to include a zip code. Also, do not include extra spaces after the city name.
  • You can use the SSML say-as element to ensure that the TTS engine pronounces an address correctly.
Pronunciation Rule Text
Between a street address and a numeric street, a break occurs 57 Rue des Abbesses
A break occurs between city/state and the zip code 75018 Paris, France

Note. House numbers in the address are read digit by digit

Four digit numbers have some common pronunciation patterns, as listed below. You can also use the SSML say-as element to ensure that the TTS engine pronounces a number digit by digit.

Note. To express multiplication, you must write out the mathematical functions. For example, use "4 times 5" instead of "4*5" or "4X5".

Pattern Example Text Example Pronunciation
4 digit numbers without commas, decimal points 4008 "Quatre mille huit"
4 digit numbers with a comma 1,876 "Un virgule huite cent soixant seize"
7 digit number without comma 3000000 "Trois millions"
7 digit number with comma 2,000,000 "Deux virgule zero zero zero zero zero zero"

Currency values are pronounced, in general, as <number><currency value> AND <number> <currency value>. For example, $432.19 is pronounced as "four hundred and thirty two dollars ,nineteen cents." You can use the SSML say-as element to ensure that the TTS engine pronounces a currency value correctly.

Note. Ignore trailing character  ahead of currency

Text Pronunciation
$0,12 "Douze cents"
€2,5 "Deux cinq"
$2.500 "Deux mille, cinq cent dollars"
€2.500 "Deux cinq, zero zero"
€23.999,00 "Vingt trois milles, neuf cent quatrevingt dix-neuf Euros"
24,00€ "Deux quatre zero zero"

You can refer here Currency Abbreviations to know about currency code abbreviations and the readout for each.

This section covers how the TTS engine pronounces date and time text. You can use the SSML say-as element to ensure that the TTS engine pronounces a date or time value correctly.

Note. Roman Numerals in dates are not supported

Dates in France are formatted as dd/mm/yyyy and mm/dd/yyyy.

Text Pronunciation
22/12/14 "vingt-deux Décembre , deux mille quatorze"
22/12/2014 "vingt-deux Décembre , deux mille quatorze"
22-12-2014 "vingt-deux Décembre , deux mille quatorze"
Janvier 8, 2014 "Janvier huit , deux mille quatorze"
1984 "Mille neuf cent quatre-vingt quatre"

Time can be formatted in different ways. Below are examples of the different formats. In general, time is expressed in 12-hour format, with am and pm to indicate morning or evening. For official purposes 24-hour time notation is used. Other notation commonly used is 10h30

  • 12:14
  • 12:14:13
  • 12:14 pm
Text Pronunciation
13:01 "Treize heures une"
1h00 "Une heure"
0:00 "Zero heures"
14:03:04 "quatorze heures, trois minutes et quatre secondes"

While you can use all valid XML character sequences in the range U+0000 to U+FFFF in your VoiceXML documents, character data to be processed by the TTS engine (e.g. text in prompt and audio elements) must be non-control characters in the following Unicode tables:

The following is a list of known issues related to this language:

  • Date-time feature gives bad output if date is requested in following format : Month Date, Year Time (For example : Octobre 17, 2008 14:30)
See Also
Speech Synthesis Markup Element Reference, Unicode Code Charts
[24]7 Inc.| Terms of Service| Privacy Policy| General Disclaimers