|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.speech.freetts.diphone.DiphoneUnitSelector
Generates the Unit Relation of an Utterance from the Segment Relation.
Constructor Summary | |
DiphoneUnitSelector(java.net.URL url)
Constructs a DiphoneUnitSelector. |
Method Summary | |
void |
processUtterance(Utterance utterance)
Generates the Unit Relation from the Segment Relation. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DiphoneUnitSelector(java.net.URL url) throws java.io.IOException
url
- the URL for the unit database. If the URL path ends
with a '.bin' it is assumed that the DB is a binary database,
otherwise, its assumed that its a text database1
java.io.IOException
- if an error occurs while loading the
databaseMethod Detail |
public void processUtterance(Utterance utterance) throws ProcessException
processUtterance
in interface UtteranceProcessor
utterance
- the utterance to generate the Unit Relation
ProcessException
- if an IOException is thrown during the
processing of the utterancepublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |