[prev in list] [next in list] [prev in thread] [next in thread] 

List:       festival-talk
Subject:    Re: FT: phrase parse in Flite
From:       David Huggins-Daines <dhd () cepstral ! com>
Date:       2002-04-12 12:34:17
[Download RAW message or body]

message from David Huggins-Daines <dhd@cepstral.com> to festival-talk
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

"sunweik" <sunweik@163.com> writes:

> hi, I am now trying to find the phrase parse part of Flite.But when trace it down to flite.c::184
> d = flite_tokens_to_speech(utt,voice,outtype);
> I can't find any code which parses the sentence to be waved.
> I think Flite don't have a phrase parse part. Who can tell I am right, or wrong?

It's default_phrasing() in cst_synth.c.  Flite (since 1.1) has
'synthesis methods' like Festival, it's an array of feature
name/default method pairs.  cst_synth_tokens calls (via
flite_synth_foo()) utt_synth_tokens(), which calls
apply_synth_method(u, synth_method_tokens).

If you look in the synth_method_tokens variable you can see that there
is a phrasing function, which is either the value of the
"phrasing_func" feature in the utterance, or default_phrasing().  Most
voices won't need a custom phrasing function, so default_phrasing() is
used - it applies a CART tree to each token in sequence to decide
whether it should insert a phrase break.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
			       Sent Via festival-talk@cstr.ed.ac.uk
		        To unsubscribe mail majordomo@cstr.ed.ac.uk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic