› Forums › Speech Synthesis › Festival › Phrasify: method
- This topic has 7 replies, 5 voices, and was last updated 1 year, 9 months ago by Simon.
-
AuthorPosts
-
-
October 22, 2015 at 14:10 #385
In the Festival manual, it says that the Phrasify function can use either CARTs or probabilistic methods to assign break strength at word boundaries. Which of these is used as the default? Is there any way of checking which method Festival is using?
-
October 22, 2015 at 16:04 #386
The default is the hand-crafted CART. You can inspect this classification tree thus:
festival> phrase_cart_tree
which should give something like:
((lisp_token_end_punc in ("?" "." ":")) ((BB)) ((lisp_token_end_punc in ("'" "\"" "," ";")) ((B)) ((n.name is 0) ((BB)) ((NB)))))
and if you draw that as a tree, you’ll see that the punctuation symbols
? . :
all lead to a Big Break (BB), and that the symbols
' " , ;
all lead to a Break (B) and otherwise there is No Break (NB) unless we reach the end of the input text, in which case a BB is placed even if there is no sentence-final punctuation.
-
November 6, 2022 at 14:27 #16374
Is there a command to modify the method used by Festival to prob_models?
-
November 6, 2022 at 14:35 #16377
It is not expected for this assignment to modify the method used by Festival for any steps in the pipeline, such as
prob_models
. The combination of which methods are used for each part of the pipeline is part of the voice definition and it won’t always make sense to modify one method in isolation (e.g., a subsequent step in the pipeline might be expecting a specific relation to be created by a preceding step).
-
-
October 25, 2015 at 15:42 #408
Is there a command to query Festival as to which ‘Phrase_Method’ it is using?
Per the manual:
“There are two methods for predicting phrase breaks in Festival, one simple and one sophisticated. These two methods are selected through the parameter Phrase_Method…”Based on my testing, it seems pretty clear that its using the ‘simple’ method, the CART which decides based on punctuation existence/type. And the manual implies that it must select one method or the other. But if I could query the Phrase_Method parameter, I could know for sure. How does one query a parameter??
-
October 26, 2015 at 08:51 #410
To query a variable in Scheme, just type it’s name at the Festival prompt, without any parentheses. If you get “unbound variable” that means the variable is not set, so the method will be the built-in default (in this case, the hand-crafted CART).
-
October 28, 2015 at 00:08 #462
I can’t seem to find what phrase_score means:
id _52 ; name ordinary ; pos_index 6 ; pos_index_score 0 ; pos jj ; phr_pos j ; phrase_score -3.69733 ; pbreak_index 1 ; pbreak_index_score 0 ; pbreak NB ;
-
October 28, 2015 at 08:18 #463
This is an internal feature and you don’t need to understand what it means. The key phrase-level feature on the example above is “NB”, meaning “no break”.
-
-
AuthorPosts
- You must be logged in to reply to this topic.