Share dictionary?

How-to questions and answers

Share dictionary?

Postby kremesch » Tue Feb 19, 2008 12:19 am

Is there a way to have all the voices share one dictionary?
kremesch
 
Posts: 3
Joined: Wed Feb 13, 2008 12:03 am

Postby Alex » Thu Mar 06, 2008 12:46 pm

This can be done a number of ways, depending on your operating system and needs. As you may know, custom pronunciations are managed by placing lexicon.txt files in the desired voices.

Under *nix systems, one could create a symbolic links in each of voice directories to one shared lexicon.txt file

Theoretically this should work on Windows also with shortcuts.

If you are using command-line swift to synthesize, this can also easily be done by specifying the lexicon with the -l flag, like so:

Code: Select all
swift -l  path_to_shared_lexicon.txt  "Test"


I hope this helps!

-Alex
Alex
 
Posts: 26
Joined: Mon Dec 04, 2006 11:19 am


Return to How do I... ?

Who is online

Users browsing this forum: No registered users and 2 guests