public class PauseFeatureComputer extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseLayout |
db |
protected String |
featsExt |
String |
FEATUREDIR |
String |
INTONISED |
protected String |
locale |
protected MaryClient |
mary |
protected String |
maryInputType |
protected String |
maryOutputType |
String |
MARYSERVERHOST |
String |
MARYSERVERPORT |
protected File |
pausefeatureDir |
protected int |
percent |
protected File |
textDir |
protected String |
xmlExt |
bnl, logger, props, props2Help| Constructor and Description |
|---|
PauseFeatureComputer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute()
Do the computations required by this component.
|
void |
computeFeaturesFor(String basename) |
SortedMap |
getDefaultProps(DatabaseLayout db)
Get the map of properties2values containing the default values
|
MaryClient |
getMaryClient() |
static String |
getMaryXMLHeaderWithInitialBoundary(String locale) |
String |
getName()
Get the name of this component
|
int |
getProgress()
Provide the progress of computation, in percent, or -1 if that feature is not implemented.
|
void |
initialiseComp()
Initialise a voice import component: component specific initialisation; to be overwritten by subclasses
|
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setPropprotected File textDir
protected File pausefeatureDir
protected String featsExt
protected String xmlExt
protected String locale
protected MaryClient mary
protected String maryInputType
protected String maryOutputType
protected DatabaseLayout db
protected int percent
public String FEATUREDIR
public String INTONISED
public String MARYSERVERHOST
public String MARYSERVERPORT
public String getName()
VoiceImportComponentgetName in class VoiceImportComponentpublic static String getMaryXMLHeaderWithInitialBoundary(String locale)
public void initialiseComp()
VoiceImportComponentinitialiseComp in class VoiceImportComponentpublic SortedMap getDefaultProps(DatabaseLayout db)
VoiceImportComponentgetDefaultProps in class VoiceImportComponentdb - dbprotected void setupHelp()
setupHelp in class VoiceImportComponentpublic MaryClient getMaryClient() throws IOException
IOExceptionpublic boolean compute()
throws IOException
VoiceImportComponentcompute in class VoiceImportComponentIOExceptionpublic void computeFeaturesFor(String basename) throws IOException
IOExceptionpublic int getProgress()
getProgress in class VoiceImportComponentCopyright © 2000–2016 DFKI GmbH. All rights reserved.