- This topic has 4 replies, 3 voices, and was last updated 2 years, 8 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
› Forums › Speech Synthesis › Festival › Accessing unilex-rpx lexicon
Is it possible to access the unilex-rpx/unisyn dictionary and change the pronunciation of a word already present in the dictionary?
You shouldn’t edit the main dictionary, but you can override a pronunciation using the command lex.add.entry
in the addendum which is stored in my_lexicon.scm
in the assignment.
This has changed the labelling of the words but festival still uses the original pronunciation during synthesis (and shows this with lex.lookup). Is there a way to make it so that it uses the pronunciation given in my_lexicon.scm?
You just need to load my_lexicon.scm
whenever you start Festival for performing synthesis. Simply give it as an argument to Festival:
bash$ festival my_lexicon.scm
which tells Festival to load (and execute) the contents of my_lexicon.scm
immediately after it starts.
To use my lexicon when running my voice in festival, I ended up using the following command:
bash$ festival $MBDIR/scm/build_unitsel.scm my_lexicon.scm
Because of the (setup_phone_and_lexicon … ) command at the top of our lexicon.scm files, the MDBIR tells festival where to find and run this command.
Some forums are only available if you are logged in. Searching will only return results from those forums if you log in.
Copyright © 2024 · Balance Child Theme on Genesis Framework · WordPress · Log in