edu.cmu.sphinx.linguist.util
Class GDLDumper
java.lang.Object
edu.cmu.sphinx.linguist.LinguistProcessor
edu.cmu.sphinx.linguist.util.LinguistDumper
edu.cmu.sphinx.linguist.util.GDLDumper
- All Implemented Interfaces:
- Configurable, java.lang.Runnable
public class GDLDumper
- extends LinguistDumper
A linguist processor that dumps out the sentence hmm in GDL format.
|
Field Summary |
static java.lang.String |
PROP_DUMP_ARC_LABELS
The SphinxProperty to specify whether to dump arc labels. |
static java.lang.String |
PROP_LOG_MATH
The SphinxProperty to specify the log math |
static java.lang.String |
PROP_SKIP_HMMS
The SphinxProperty specifying whether to skip HMMs during dumping. |
static java.lang.String |
PROP_VERTICAL_LAYOUT
The SphinxProperty to specify whether to use vertical graph layout. |
|
Constructor Summary |
GDLDumper()
|
GDLDumper(java.lang.String filename,
Linguist linguist,
boolean verticalLayout,
boolean skipHMMs,
boolean dumpArcLabels,
LogMath logMath)
|
|
Method Summary |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_SKIP_HMMS
@S4Boolean(defaultValue=true)
public static final java.lang.String PROP_SKIP_HMMS
- The SphinxProperty specifying whether to skip HMMs during dumping.
- See Also:
- Constant Field Values
PROP_VERTICAL_LAYOUT
@S4Boolean(defaultValue=false)
public static final java.lang.String PROP_VERTICAL_LAYOUT
- The SphinxProperty to specify whether to use vertical graph layout.
- See Also:
- Constant Field Values
PROP_DUMP_ARC_LABELS
@S4Boolean(defaultValue=true)
public static final java.lang.String PROP_DUMP_ARC_LABELS
- The SphinxProperty to specify whether to dump arc labels.
- See Also:
- Constant Field Values
PROP_LOG_MATH
@S4Component(type=LogMath.class)
public static final java.lang.String PROP_LOG_MATH
- The SphinxProperty to specify the log math
- See Also:
- Constant Field Values
GDLDumper
public GDLDumper(java.lang.String filename,
Linguist linguist,
boolean verticalLayout,
boolean skipHMMs,
boolean dumpArcLabels,
LogMath logMath)
GDLDumper
public GDLDumper()
newProperties
public void newProperties(PropertySheet ps)
throws PropertyException
- Description copied from interface:
Configurable
- This method is called when this configurable component needs to be reconfigured.
- Specified by:
newProperties in interface Configurable- Overrides:
newProperties in class LinguistDumper
- Parameters:
ps - a property sheet holding the new data
- Throws:
PropertyException - if there is a problem with the properties.