|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.speech.freetts.cart.Phraser
Creates a Relation.PHRASE
relation, grouping
Relation.WORD
relations by breaks.
Relation.PHRASE
,
Relation.WORD
Field Summary | |
protected CART |
cart
The CART used for this Phrasing UtteranceProcessor. |
Constructor Summary | |
Phraser(CART cart)
Creates a new Phrasing UtteranceProcessor with the given CART. |
Method Summary | |
void |
processUtterance(Utterance utterance)
Creates a Relation.PHRASE relation, grouping
Relation.WORD relations by breaks.
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected CART cart
Constructor Detail |
public Phraser(CART cart)
cart
- a phrasing CARTMethod Detail |
public void processUtterance(Utterance utterance) throws ProcessException
Relation.PHRASE
relation, grouping
Relation.WORD
relations by breaks.
Depends upon a phrasing CART that returns strings containing
"BB" for big breaks.
processUtterance
in interface UtteranceProcessor
utterance
- the utterance to process
ProcessException
- if a problem is encountered 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 |