| Package | Description |
|---|---|
| edu.cmu.sphinx.tools.batch | |
| edu.cmu.sphinx.tools.feature | |
| edu.cmu.sphinx.util.props | |
| edu.cmu.sphinx.util.props.tools |
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationManager |
BatchModeRecognizer.cm |
| Constructor and Description |
|---|
FeatureFileDumper(ConfigurationManager cm,
java.lang.String frontEndName)
Constructs a FeatureFileDumper.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationManager |
ConfigurationManager.clone()
Creates a deep copy of the given CM instance.
|
static ConfigurationManager |
ConfigurationManagerUtils.getPropertyManager(PropertySheet ps)
Why do we need this method? The reason is, that we would like to avoid this method to be part of the
PropertySheet-API. |
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationManager.addSubConfiguration(ConfigurationManager subCM) |
void |
ConfigurationManager.addSubConfiguration(ConfigurationManager subCM,
boolean doOverrideComponents)
Adds a subconfiguration to this instance by registering all subCM-components and all its global properties.
|
void |
ConfigurationChangeListener.componentAdded(ConfigurationManager cm,
PropertySheet ps)
Called if a new compoenent defined by
ps was registered to the ConfigurationManager
cm. |
void |
ConfigurationChangeListener.componentRemoved(ConfigurationManager cm,
PropertySheet ps)
Called if a compoenent defined by
ps was unregistered (removed) from the ConfigurationManager
cm. |
void |
ConfigurationChangeListener.componentRenamed(ConfigurationManager cm,
PropertySheet ps,
java.lang.String oldName)
Called if a compoenent was renamed.
|
void |
ConfigurationChangeListener.configurationChanged(java.lang.String configurableName,
java.lang.String propertyName,
ConfigurationManager cm)
Called if the configuration of a registered compoenent named
configurableName was changed. |
static void |
ConfigurationManagerUtils.configureLogger(ConfigurationManager cm)
Configure the logger
|
static void |
ConfigurationManagerUtils.dumpPropStructure(ConfigurationManager cm) |
static void |
ConfigurationManagerUtils.editConfig(ConfigurationManager cm,
java.lang.String name) |
static java.util.Map<java.lang.String,java.lang.String> |
ConfigurationManagerUtils.fixDuplicateNames(ConfigurationManager baseCM,
ConfigurationManager subCM)
This method will automatically rename all components of
subCM for which there is component named the
same in the baseCM . |
RawPropertyData |
RawPropertyData.flatten(ConfigurationManager cm)
Return a copy of this property data instance with all ${}-fields resolved.
|
static java.lang.String |
ConfigurationManagerUtils.getLogPrefix(ConfigurationManager cm) |
static java.util.Collection<java.lang.String> |
ConfigurationManagerUtils.getNonInstaniatedComps(ConfigurationManager cm)
Returns the not yet instantiated components registered to this configuration manager.
|
static java.util.Map<java.lang.String,java.util.List<PropertySheet>> |
ConfigurationManagerUtils.listAllsPropNames(ConfigurationManager cm)
Returns a map of all component-properties of this config-manager (including their associated property-sheets.
|
static void |
ConfigurationManagerUtils.save(ConfigurationManager cm,
java.io.File cmLocation) |
void |
PropertySheet.setCM(ConfigurationManager cm) |
static void |
ConfigurationManagerUtils.setProperty(ConfigurationManager cm,
java.lang.String propName,
java.lang.String propValue)
Attempts to set the value of an arbitrary component-property.
|
static void |
ConfigurationManagerUtils.setProperty(ConfigurationManager cm,
java.lang.String componentName,
java.lang.String propName,
java.lang.String propValue) |
static void |
ConfigurationManagerUtils.showConfig(ConfigurationManager cm)
Shows the current configuration
|
static void |
ConfigurationManagerUtils.showConfig(ConfigurationManager cm,
java.lang.String name)
Show the configuration for the component with the given name
|
static java.lang.String |
ConfigurationManagerUtils.toXML(ConfigurationManager cm)
Converts a configuration manager instance into a xml-string .
|
boolean |
ConfigurationManagerUtils.validateConfiguration(ConfigurationManager cm)
Validates that only annotated property names have been used to setup this instance of
edu.cmu.sphinx.util.props.ConfigurationManager. |
| Constructor and Description |
|---|
PropertySheet(java.lang.Class<? extends Configurable> confClass,
java.lang.String name,
ConfigurationManager cm,
RawPropertyData rpd) |
PropertySheet(Configurable configurable,
java.lang.String name,
RawPropertyData rpd,
ConfigurationManager ConfigurationManager) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GDLDumper.dumpComponentAsGDL(ConfigurationManager cm,
java.io.PrintStream out,
java.lang.String name)
Dumps the given component as GDL to the given stream
|
static java.lang.String |
GDLDumper.getColor(ConfigurationManager ConfigurationManager,
java.lang.String componentName)
Gets the color for the given component
|
static void |
GDLDumper.showConfigAsGDL(ConfigurationManager ConfigurationManager,
java.lang.String path)
Dumps the config as a GDL plot
|
static void |
HTMLDumper.showConfigAsHTML(ConfigurationManager ConfigurationManager,
java.lang.String path)
Dumps the config as a set of HTML tables
|