marytts.unitselection.select
Class DiphoneUnitSelector

java.lang.Object
  extended by marytts.unitselection.select.UnitSelector
      extended by marytts.unitselection.select.DiphoneUnitSelector

public class DiphoneUnitSelector
extends UnitSelector


Field Summary
 
Fields inherited from class marytts.unitselection.select.UnitSelector
beamSize, database, logger, sCostWeight, targetCostWeight
 
Constructor Summary
DiphoneUnitSelector()
          Initialise the unit selector.
 
Method Summary
protected  java.util.List<Target> createTargets(java.util.List<org.w3c.dom.Element> segmentsAndBoundaries)
          Create the list of targets from the XML elements to synthesize.
 
Methods inherited from class marytts.unitselection.select.UnitSelector
getPhoneSymbol, load, load, selectUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiphoneUnitSelector

public DiphoneUnitSelector()
                    throws java.lang.Exception
Initialise the unit selector. Need to call load() separately.

Throws:
java.lang.Exception
See Also:
#load(UnitDatabase)
Method Detail

createTargets

protected java.util.List<Target> createTargets(java.util.List<org.w3c.dom.Element> segmentsAndBoundaries)
Create the list of targets from the XML elements to synthesize.

Overrides:
createTargets in class UnitSelector
Parameters:
segmentsAndBoundaries - a list of MaryXML phone and boundary elements
Returns:
a list of Target objects