UtteranceProcessor
public class Phraser extends java.lang.Object implements UtteranceProcessor
Relation.PHRASE
relation, grouping
Relation.WORD
relations by breaks.Relation.PHRASE
,
Relation.WORD
Modifier and Type | Field | Description |
---|---|---|
protected CART |
cart |
The CART used for this Phrasing UtteranceProcessor.
|
Constructor | Description |
---|---|
Phraser(CART cart) |
Creates a new Phrasing UtteranceProcessor with the given
CART.
|
Modifier and Type | Method | Description |
---|---|---|
void |
processUtterance(Utterance utterance) |
Creates a
Relation.PHRASE relation, grouping
Relation.WORD relations by breaks. |
java.lang.String |
toString() |
protected final CART cart
public Phraser(CART cart)
cart
- a phrasing CARTpublic 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 processProcessException
- if a problem is encountered during the
processing of the utterancepublic java.lang.String toString()
toString
in class java.lang.Object