MfccConfig

class aligner.config.MfccConfig(output_directory, job=None, kwargs=None)[source]

Class to store configuration information about MFCC generation

The config_dict currently stores one key 'use-energy' which defaults to False

Parameters:

output_directory : str

Path to directory to save configuration files for Kaldi

kwargs : dict, optional

If specified, updates config_dict with this dictionary

Attributes

config_dict (dict) Dictionary of configuration parameters

Attributes

config_directory
path

Methods

update(kwargs) Update configuration dictionary with new dictionary
write() Write configuration dictionary to a file for use in Kaldi binaries
update(kwargs)[source]

Update configuration dictionary with new dictionary

Parameters:

kwargs : dict

Dictionary of new parameter values

write()[source]

Write configuration dictionary to a file for use in Kaldi binaries