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.

CART ::= QUESTION-NODE || ANSWER-NODE<br />

QUESTION-NODE ::= ( QUESTION YES-NODE NO-NODE )<br />

YES-NODE ::= CART<br />

NO-NODE ::= CART<br />

QUESTION ::= ( FEATURE in LIST )<br />

QUESTION ::= ( FEATURE is STRVALUE )<br />

QUESTION ::= ( FEATURE = NUMVALUE )<br />

QUESTION ::= ( FEATURE > NUMVALUE )<br />

QUESTION ::= ( FEATURE < NUMVALUE )<br />

QUESTION ::= ( FEATURE matches REGEX )<br />

ANSWER-NODE ::= CLASS-ANSWER || REGRESS-ANSWER<br />

CLASS-ANSWER ::= ( (VALUE0 PROB) (VALUE1 PROB) ... MOST-PROB-VALUE )<br />

REGRESS-ANSWER ::= ( ( STANDARD-DEVIATION MEAN ) )<br />

Note that answer nodes are distinguished by their car not being atomic.<br />

The interpretation of a tree is with respect to a Stream_Item The FEATURE in a tree is a standard feature (see section<br />

14.6 Features).<br />

The following example tree is used in one of the Spanish voices to predict variations from average durations.<br />

(set! spanish_dur_tree<br />

'<br />

(set! spanish_dur_tree<br />

'<br />

((R:SylStructure.parent.R:Syllable.p.syl_break > 1 ) ;; clause initial<br />

((R:SylStructure.parent.stress is 1)<br />

((1.5))<br />

((1.2)))<br />

((R:SylStructure.parent.syl_break > 1) ;; clause final<br />

((R:SylStructure.parent.stress is 1)<br />

((2.0))<br />

((1.5)))<br />

((R:SylStructure.parent.stress is 1)<br />

((1.2))<br />

((1.0))))))<br />

It is applied to the segment stream to give a factor to multiply the average by.<br />

wagon is constantly improving and with version 1.2 of the speech tools may now be considered fairly stable for its<br />

basic operations. Experimental features are described in help it gives. See the <strong>Speech</strong> Tools manual for a more<br />

comprehensive discussion of using `wagon'.<br />

However the above format of trees is similar to those produced by many other systems and hence it is reasonable to<br />

translate their formats into one which <strong>Festival</strong> can use.<br />

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

25.3 Ngrams<br />

Bigram, trigrams, and general ngrams are used in the part of speech tagger and the phrase break predicter. An Ngram<br />

C++ Class is defined in the speech tools library and some simple facilities are added within <strong>Festival</strong> itself.<br />

Ngrams may be built from files of tokens using the program ngram_build which is part of the speech tools. See<br />

the speech tools documentation for details.

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

Saved successfully!

Ooh no, something went wrong!