12.12.2012 Views

Festival Speech Synthesis System: - Speech Resource Pages

Festival Speech Synthesis System: - Speech Resource Pages

Festival Speech Synthesis System: - Speech Resource Pages

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(<br />

)<br />

(vc + -) ;; vowel consonant<br />

(vlength short long diphthong schwa 0) ;; vowel length<br />

...<br />

The third section is a list of phone definitions themselves. Each phone definition consists of a phone name and the<br />

values for each feature in the order the features were defined in the above section.<br />

A typical example of a phoneset definition can be found in `lib/mrpa_phones.scm'.<br />

Note the phoneset should also include a definition for any silence phones. In addition to the definition of the set the<br />

silence phone(s) themselves must also be identified to the system. This is done through the command<br />

PhoneSet.silences. In the mrpa set this is done by the command<br />

(PhoneSet.silences '(#))<br />

There may be more than one silence phone (e.g. breath, start silence etc.) in any phoneset definition. However the<br />

first phone in this set is treated special and should be canonical silence. Among other things, it is this phone that is<br />

inserted by the pause prediction module.<br />

In addition to declaring phonesets, alternate sets may be selected by the command PhoneSet.select.<br />

Phones in different sets may be automatically mapped between using their features. This mapping is not yet as<br />

general as it could be, but is useful when mapping between various phonesets of the same language. When a phone<br />

needs to be mapped from one set to another the phone with matching features is selected. This allows, at least to<br />

some extent, lexicons, waveform synthesizers, duration modules etc. to use different phonesets (though in general<br />

this is not advised).<br />

A list of currently defined phonesets is returned by the function<br />

(PhoneSet.list)<br />

Note phonesets are often not defined until a voice is actually loaded so this list is not the list of of sets that are<br />

distributed but the list of sets that are used by currently loaded voices.<br />

The name, phones, features and silences of the current phoneset may be accessedwith the function<br />

(PhoneSet.description nil)<br />

If the argument to this function is a list, only those parts of the phoneset description named are returned. For example<br />

(PhoneSet.description '(silences))<br />

(PhoneSet.description '(silences phones))<br />

[ < ] [ > ] [ > ] [Top] [Contents] [Index] [ ? ]<br />

13. Lexicons<br />

A Lexicon in <strong>Festival</strong> is a subsystem that provides pronunciations for words. It can consist of three distinct parts: an<br />

addenda, typically short consisting of hand added words; a compiled lexicon, typically large (10,000s of words)<br />

which sits on disk somewhere; and a method for dealing with words not in either list.<br />

13.1 Lexical entries Format of lexical entries

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!