question: public static void load ( marytts . modules . synthesis . Voice maryVoice ) throws NoSuchPropertyException { if ( mary2freettsVoices == null ) mary2freettsVoices = new HashMap < marytts . modules . synthesis . Voice , com . sun . speech . freetts . Voice > ( ) ; if ( freetts2maryVoices == null ) freetts2maryVoices = new HashMap < com . sun . speech . freetts . Voice , marytts . modules . synthesis . Voice > ( ) ; if ( mary2freettsVoices . containsKey ( maryVoice ) ) return ; load ( maryVoice , createFreeTTSVoice ( maryVoice ) ) ; }
target:  Add a freetts voice for a given mary voice. This is used by load(), but can also be called separately. Repeated registration of the same voice will be ignored, so it is safe to call this several times with the same maryVoice. This depends on the mary property "freetts.lexicon.preload" setting -- if that results to false, nothing will be loaded; if the setting is missing, a NoSuchPropertyException will be thrown.