de.dfki.lt.mary.unitselection.voiceimport
Class PraatPitchmarker

java.lang.Object
  extended by de.dfki.lt.mary.unitselection.voiceimport.VoiceImportComponent
      extended by de.dfki.lt.mary.unitselection.voiceimport.PraatPitchmarker

public class PraatPitchmarker
extends VoiceImportComponent


Field Summary
 java.lang.String COMMAND
           
 java.lang.String CORRPMDIR
           
protected  java.lang.String corrPmExt
           
protected  DatabaseLayout db
           
 java.lang.String MAXPITCH
           
 java.lang.String MINPITCH
           
 java.lang.String PMDIR
           
protected  java.lang.String pmExt
           
protected  java.lang.String pointpExt
           
protected  java.lang.String tmpScript
           
 
Fields inherited from class de.dfki.lt.mary.unitselection.voiceimport.VoiceImportComponent
bnl, props, props2Help
 
Constructor Summary
PraatPitchmarker()
           
 
Method Summary
 boolean compute()
          The standard compute() method of the VoiceImportComponent interface.
 java.util.SortedMap getDefaultProps(DatabaseLayout db)
          Get the map of properties2values containing the default values
 java.lang.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()
           
 
Methods inherited from class de.dfki.lt.mary.unitselection.voiceimport.VoiceImportComponent
getHelpText, getHelpTextForProp, getProp, initialise, setProp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

protected DatabaseLayout db

corrPmExt

protected java.lang.String corrPmExt

pmExt

protected java.lang.String pmExt

pointpExt

protected java.lang.String pointpExt

tmpScript

protected java.lang.String tmpScript

COMMAND

public final java.lang.String COMMAND
See Also:
Constant Field Values

MINPITCH

public final java.lang.String MINPITCH
See Also:
Constant Field Values

MAXPITCH

public final java.lang.String MAXPITCH
See Also:
Constant Field Values

CORRPMDIR

public final java.lang.String CORRPMDIR
See Also:
Constant Field Values

PMDIR

public final java.lang.String PMDIR
See Also:
Constant Field Values
Constructor Detail

PraatPitchmarker

public PraatPitchmarker()
Method Detail

setupHelp

protected void setupHelp()
Specified by:
setupHelp in class VoiceImportComponent

getName

public final java.lang.String getName()
Description copied from class: VoiceImportComponent
Get the name of this component

Specified by:
getName in class VoiceImportComponent
Returns:
the name

initialiseComp

public void initialiseComp()
Description copied from class: VoiceImportComponent
Initialise a voice import component: component specific initialisation; to be overwritten by subclasses

Overrides:
initialiseComp in class VoiceImportComponent

getDefaultProps

public java.util.SortedMap getDefaultProps(DatabaseLayout db)
Description copied from class: VoiceImportComponent
Get the map of properties2values containing the default values

Specified by:
getDefaultProps in class VoiceImportComponent
Returns:
map of props2values

compute

public boolean compute()
                throws java.io.IOException
The standard compute() method of the VoiceImportComponent interface.

Specified by:
compute in class VoiceImportComponent
Returns:
true on success, false on failure
Throws:
java.io.IOException

getProgress

public int getProgress()
Provide the progress of computation, in percent, or -1 if that feature is not implemented.

Specified by:
getProgress in class VoiceImportComponent
Returns:
-1 if not implemented, or an integer between 0 and 100.