edu.cmu.sphinx.linguist.util
Class GDLDumper

java.lang.Object
  extended byedu.cmu.sphinx.linguist.LinguistProcessor
      extended byedu.cmu.sphinx.linguist.util.LinguistDumper
          extended byedu.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 boolean PROP_DUMP_ARC_LABELS_DEFAULT
          The default value for PROP_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 boolean PROP_SKIP_HMMS_DEFAULT
          The default value for PROP_SKIP_HMMS.
static java.lang.String PROP_VERTICAL_LAYOUT
          The SphinxProperty to specify whether to use vertical graph layout.
static boolean PROP_VERTICAL_LAYOUT_DEFAULT
          The default value for PROP_VERTICAL_LAYOUT.
 
Fields inherited from class edu.cmu.sphinx.linguist.util.LinguistDumper
PROP_FILENAME, PROP_FILENAME_DEFAULT
 
Fields inherited from class edu.cmu.sphinx.linguist.LinguistProcessor
PROP_LINGUIST
 
Constructor Summary
GDLDumper()
           
 
Method Summary
 void newProperties(PropertySheet ps)
          This method is called when this configurable component has new data.
 void register(java.lang.String name, Registry registry)
          Register my properties.
 
Methods inherited from class edu.cmu.sphinx.linguist.util.LinguistDumper
run
 
Methods inherited from class edu.cmu.sphinx.linguist.LinguistProcessor
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_SKIP_HMMS

public static final java.lang.String PROP_SKIP_HMMS
The SphinxProperty specifying whether to skip HMMs during dumping.

See Also:
Constant Field Values

PROP_SKIP_HMMS_DEFAULT

public static final boolean PROP_SKIP_HMMS_DEFAULT
The default value for PROP_SKIP_HMMS.

See Also:
Constant Field Values

PROP_VERTICAL_LAYOUT

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_VERTICAL_LAYOUT_DEFAULT

public static final boolean PROP_VERTICAL_LAYOUT_DEFAULT
The default value for PROP_VERTICAL_LAYOUT.

See Also:
Constant Field Values

PROP_DUMP_ARC_LABELS

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_DUMP_ARC_LABELS_DEFAULT

public static final boolean PROP_DUMP_ARC_LABELS_DEFAULT
The default value for PROP_DUMP_ARC_LABELS.

See Also:
Constant Field Values

PROP_LOG_MATH

public static final java.lang.String PROP_LOG_MATH
The SphinxProperty to specify the log math

See Also:
Constant Field Values
Constructor Detail

GDLDumper

public GDLDumper()
Method Detail

register

public void register(java.lang.String name,
                     Registry registry)
              throws PropertyException
Description copied from interface: Configurable
Register my properties. This method is called once early in the time of the component, shortly after the component is constructed. This component should register any configuration properties that it needs to register. If this configurable extends another configurable, super.register should also be called

Specified by:
register in interface Configurable
Overrides:
register in class LinguistDumper
Throws:
PropertyException

newProperties

public void newProperties(PropertySheet ps)
                   throws PropertyException
Description copied from interface: Configurable
This method is called when this configurable component has new data. The component should first validate the data. If it is bad the component should return false. If the data is good, the component should record the the data internally and return true.

Specified by:
newProperties in interface Configurable
Overrides:
newProperties in class LinguistDumper
Throws:
PropertyException