edu.cmu.sphinx.linguist.util
Class LinguistDumper
java.lang.Object
edu.cmu.sphinx.linguist.LinguistProcessor
edu.cmu.sphinx.linguist.util.LinguistDumper
- All Implemented Interfaces:
- Configurable, java.lang.Runnable
- Direct Known Subclasses:
- GDLDumper
public class LinguistDumper
- extends LinguistProcessor
A linguist processor that dumps out the search space in a simple format. This processor is designed so that it can be
easily extended by replacing the dumpNode and the dumpEdge methods.
|
Field Summary |
static java.lang.String |
PROP_FILENAME
A sphinx property name for the destination of the LinguistDumper |
|
Method Summary |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
void |
run()
Dumps the search space hmm in GDL format |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_FILENAME
@S4String(defaultValue="linguistDump.txt")
public static final java.lang.String PROP_FILENAME
- A sphinx property name for the destination of the LinguistDumper
- See Also:
- Constant Field Values
LinguistDumper
public LinguistDumper(java.lang.String filename,
Linguist linguist)
LinguistDumper
public LinguistDumper()
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 LinguistProcessor
- Parameters:
ps - a property sheet holding the new data
- Throws:
PropertyException - if there is a problem with the properties.
run
public void run()
- Dumps the search space hmm in GDL format
- Specified by:
run in interface java.lang.Runnable- Overrides:
run in class LinguistProcessor