public class JTokeniser extends JTokeniser
TOKEN_MAXLENGTH
logger, state
MODULE_OFFLINE, MODULE_RUNNING
Constructor and Description |
---|
JTokeniser() |
Modifier and Type | Method and Description |
---|---|
protected void |
normaliseToAscii(MaryData d) |
MaryData |
process(MaryData d)
Perform this module's processing on abstract "MaryData" input
d . |
protected void |
propagateForceAccent(MaryData d)
Deprecated.
FreeTTS is no longer used, so this method no longer serves a purpose.
|
setTokenizerLanguage, startup
getInputType, getLocale, getOutputType, getState, inputType, name, outputType, powerOnSelfTest, shutdown
public MaryData process(MaryData d) throws Exception
InternalModule
d
. Subclasses need to make sure that the
process()
method is thread-safe, because in server-mode, it will be called from different threads at the same
time. A sensible way to do this seems to be not to use any global or static variables, or to use them read-only.
process
in interface MaryModule
process
in class JTokeniser
d
- doutputType()
encapsulating the processing result.
This method just returns its input. Subclasses should override this.
Exception
- Exceptionprotected void normaliseToAscii(MaryData d)
@Deprecated protected void propagateForceAccent(MaryData d)
d
- dCopyright © 2000–2016 DFKI GmbH. All rights reserved.