public class PauseGenerator extends Object implements UtteranceProcessor
Modifier and Type | Field and Description |
---|---|
private static PathExtractor |
puncPath |
private static PathExtractor |
segmentPath |
Constructor and Description |
---|
PauseGenerator()
Constructs a PauseGenerator
|
Modifier and Type | Method and Description |
---|---|
void |
processUtterance(Utterance utterance)
Annotates an utterance with pause information.
|
String |
toString()
Returns the string representation of the object
|
private static final PathExtractor segmentPath
private static final PathExtractor puncPath
public PauseGenerator()
public void processUtterance(Utterance utterance) throws ProcessException
processUtterance
in interface UtteranceProcessor
utterance
- the utterance to processProcessException
- if an error occurs while
processing of the utteranceWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses