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, setProp
protected 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()
VoiceImportComponent
getName
in class VoiceImportComponent
public SortedMap<String,String> getDefaultProps(DatabaseLayout theDb)
VoiceImportComponent
getDefaultProps
in class VoiceImportComponent
theDb
- dbprotected void setupHelp()
setupHelp
in class VoiceImportComponent
public boolean compute() throws IOException, UnsupportedAudioFileException
VoiceImportComponent
compute
in class VoiceImportComponent
IOException
UnsupportedAudioFileException
public int getProgress()
getProgress
in class VoiceImportComponent
Copyright © 2000–2016 DFKI GmbH. All rights reserved.