next up previous contents index
Next: 4.5 Error Reporting Up: 4 The Operating Environment Previous: 4.3 Configuration Files

4.4 Standard Options

 

  As noted in section 4.1, options consisting of a capital letter are common across all tools. Many are specific to particular file types and they will be introduced as they arise. However, five of the standard options are actually built-in to HSHELL. Two of these have been mentioned already. The option -C  is used to specify a configuration file name and the option -S  is used to specify a script file name.

The three remaining standard options provided directly by HSHELL are -A , -D and -V. The option -A causes the current command line arguments to be printed. When running experiments via scripts, it is a good idea to use this option to record in a log file the precise settings used for each tool. The -D  option causes the current configuration parameters set by the user to be displayed both before and after the tool has executed. The initial display allows the configuration values to be checked before potentially wasting a large amount of cpu time through incorrectly set parameters. The final display shows which configuration variables were actually used during the execution of the tool. Its form is shown by the following example

    HTK Configuration Parameters[3]
      Module/Tool     Parameter                  Value
    # HMODEL          SAVEBINARY                  TRUE
      HPARM           TARGETRATE         256000.000000
                      TARGETKIND                MFCC_0
Here three configuration parameters have been set but the hash (#) indicates that SAVEBINARY has not been used.   Finally, the option -V  causes version information for the tool and each module used by that tool to be listed. These should always be quoted when making bug reports.

Finally, all tools implement the trace option -T . Trace values are typically bit strings and the meaning of each bit is described in the reference section for each tool. Setting a trace  option via the command line overrides any setting for that same trace option in a configuration file. This is a general rule, command line options always override defaults set in configuration files.

All of the standard options are listed in the final summary section of this chapter.


next up previous contents index
Next: 4.5 Error Reporting Up: 4 The Operating Environment Previous: 4.3 Configuration Files

ECRL HTK_V2.1: email [email protected]