public class EndpointDetector extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseLayout |
db |
String |
ENERGYBUFFERLENGTH |
protected File |
inputWavDir |
String |
INPUTWAVDIR |
String |
MINIMUMENDSILENCEINSECONDS |
String |
MINIMUMSTARTSILENCEINSECONDS |
String |
NUMENERGYCLUSTERS |
protected File |
outputWavDir |
String |
OUTPUTWAVDIR |
protected int |
percent |
String |
SHIFTFROMMINIMUMENERGYCENTER |
String |
SPEECHENDLIKELIHOOD |
String |
SPEECHSTARTLIKELIHOOD |
protected File |
textDir |
protected String |
waveExt |
bnl, logger, props, props2Help| Constructor and Description |
|---|
EndpointDetector() |
| 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
|
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 |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, initialiseComp, setPropprotected File textDir
protected File inputWavDir
protected File outputWavDir
protected String waveExt
protected DatabaseLayout db
protected int percent
public String INPUTWAVDIR
public String OUTPUTWAVDIR
public String ENERGYBUFFERLENGTH
public String SPEECHSTARTLIKELIHOOD
public String SPEECHENDLIKELIHOOD
public String SHIFTFROMMINIMUMENERGYCENTER
public String NUMENERGYCLUSTERS
public String MINIMUMSTARTSILENCEINSECONDS
public String MINIMUMENDSILENCEINSECONDS
public String getName()
VoiceImportComponentgetName in class VoiceImportComponentpublic SortedMap<String,String> getDefaultProps(DatabaseLayout theDb)
VoiceImportComponentgetDefaultProps in class VoiceImportComponenttheDb - dbprotected void setupHelp()
setupHelp in class VoiceImportComponentpublic boolean compute()
throws IOException,
UnsupportedAudioFileException
VoiceImportComponentcompute in class VoiceImportComponentIOExceptionUnsupportedAudioFileExceptionpublic int getProgress()
getProgress in class VoiceImportComponentCopyright © 2000–2016 DFKI GmbH. All rights reserved.