public class FeatureSelection extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseLayout |
db |
protected File |
featureFile |
String |
FEATUREFILE |
protected String |
features |
protected String |
locale |
protected MaryHttpClient |
mary |
String |
MARYSERVERHOST |
String |
MARYSERVERPORT |
protected boolean |
success |
bnl, logger, props, props2Help| Constructor and Description |
|---|
FeatureSelection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute()
Do the computations required by this component.
|
SortedMap<String,String> |
getDefaultProps(DatabaseLayout theDb)
Get the map of properties2values containing the default values
|
MaryHttpClient |
getMaryClient() |
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.
|
protected void |
initialiseComp()
Initialise a voice import component: component specific initialisation; to be overwritten by subclasses
|
protected void |
saveFeatures(String newFeatures) |
protected void |
setSuccess(boolean val) |
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setPropprotected File featureFile
protected String features
protected String locale
protected MaryHttpClient mary
protected boolean success
protected DatabaseLayout db
public String FEATUREFILE
public String MARYSERVERHOST
public String MARYSERVERPORT
public String getName()
VoiceImportComponentgetName in class VoiceImportComponentprotected void initialiseComp()
VoiceImportComponentinitialiseComp in class VoiceImportComponentpublic SortedMap<String,String> getDefaultProps(DatabaseLayout theDb)
VoiceImportComponentgetDefaultProps in class VoiceImportComponenttheDb - dbprotected void setupHelp()
setupHelp in class VoiceImportComponentpublic MaryHttpClient getMaryClient() throws IOException
IOExceptionprotected void saveFeatures(String newFeatures)
protected void setSuccess(boolean val)
public boolean compute()
throws IOException
VoiceImportComponentcompute in class VoiceImportComponentIOExceptionpublic int getProgress()
getProgress in class VoiceImportComponentCopyright © 2000–2016 DFKI GmbH. All rights reserved.