public class F0SoPTrainer extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseLayout |
db |
protected File |
f0Dir |
String |
F0LeftSoPFILE |
String |
F0MidSoPFILE |
String |
F0RightSoPFILE |
String |
FEATUREDIR |
protected String |
featureExt |
String |
FEATUREFILE |
protected boolean |
interceptTerm |
String |
LABELDIR |
protected String |
labelExt |
protected String |
leftF0FeaturesFileName |
protected File |
leftSoPFile |
protected boolean |
logF0 |
protected String |
midF0FeaturesFileName |
protected File |
midSoPFile |
protected int |
percent |
protected String |
rightF0FeaturesFileName |
protected File |
rightSoPFile |
protected int |
solutionSize |
protected boolean |
success |
String |
UNITFILE |
String |
WAVETIMELINE |
bnl, logger, props, props2Help| Constructor and Description |
|---|
F0SoPTrainer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute()
Do the computations required by this component.
|
SortedMap<String,String> |
getDefaultProps(DatabaseLayout dbl)
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 |
initialiseComp()
Initialise a voice import component: component specific initialisation; to be overwritten by subclasses
|
static void |
main(String[] args) |
String[] |
selectLinguisticFactors(String featureNames,
String label) |
protected void |
setSuccess(boolean val) |
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setPropprotected File f0Dir
protected String leftF0FeaturesFileName
protected String midF0FeaturesFileName
protected String rightF0FeaturesFileName
protected File leftSoPFile
protected File midSoPFile
protected File rightSoPFile
protected String featureExt
protected String labelExt
protected DatabaseLayout db
protected int percent
protected boolean success
protected boolean interceptTerm
protected boolean logF0
protected int solutionSize
public final String FEATUREFILE
public final String UNITFILE
public final String WAVETIMELINE
public final String LABELDIR
public final String FEATUREDIR
public final String F0LeftSoPFILE
public final String F0MidSoPFILE
public final String F0RightSoPFILE
public String getName()
VoiceImportComponentgetName in class VoiceImportComponentprotected void initialiseComp()
VoiceImportComponentinitialiseComp in class VoiceImportComponentpublic SortedMap<String,String> getDefaultProps(DatabaseLayout dbl)
VoiceImportComponentgetDefaultProps in class VoiceImportComponentdbl - dbprotected void setupHelp()
setupHelp in class VoiceImportComponentpublic boolean compute()
throws Exception
VoiceImportComponentcompute in class VoiceImportComponentException - Exceptionpublic String[] selectLinguisticFactors(String featureNames, String label) throws IOException
IOExceptionprotected void setSuccess(boolean val)
public int getProgress()
getProgress in class VoiceImportComponentCopyright © 2000–2016 DFKI GmbH. All rights reserved.