public class Phraser extends Object implements UtteranceProcessor
Relation.PHRASE
relation, grouping
Relation.WORD
relations by breaks.Relation.PHRASE
,
Relation.WORD
Modifier and Type | Field and Description |
---|---|
protected CART |
cart
The CART used for this Phrasing UtteranceProcessor.
|
private static Logger |
LOGGER
Logger instance.
|
Constructor and Description |
---|
Phraser(CART cart)
Creates a new Phrasing UtteranceProcessor with the given
CART.
|
Modifier and Type | Method and Description |
---|---|
void |
processUtterance(Utterance utterance)
Creates a
Relation.PHRASE relation, grouping
Relation.WORD relations by breaks. |
String |
toString() |
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 processProcessException
- if a problem is encountered during the
processing of the utteranceWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses