def _index_audio_cmu(self, basename=None, replace_already_indexed=False):
self._prepare_audio(basename=basename,<EOL>replace_already_indexed=replace_already_indexed)<EOL>for staging_audio_basename in self._list_audio_files(<EOL>sub_dir="<STR_LIT>"):<EOL><INDENT>original_audio_name = '<STR_LIT>'.join(<EOL>staging_audio_basename.split('<STR_LIT:.>')[:-<NUM_LIT:1>])[:-<NUM_LIT:3>]<EOL>pocketsphinx_command = '<STR_LIT>'.join([<EOL>"<STR_LIT>", "<STR_LIT>",<EOL>str("<STR_LIT>".format(<EOL>self.src_dir, staging_audio_basename)),<EOL>"<STR_LIT>", "<STR_LIT:yes>", "<STR_LIT>", "<STR_LIT>"])<EOL>try:<EOL><INDENT>if self.get_verbosity():<EOL><INDENT>print("<STR_LIT>".format(staging_audio_basename))<EOL><DEDENT>output = subprocess.check_output([<EOL>"<STR_LIT>", "<STR_LIT>",<EOL>str("<STR_LIT>".format(<EOL>self.src_dir, staging_audio_basename)),<EOL>"<STR_LIT>", "<STR_LIT:yes>", "<STR_LIT>", "<STR_LIT>"<EOL>], universal_newlines=True).split('<STR_LIT:\n>')<EOL>str_timestamps_with_sil_conf = list(map(<EOL>lambda x: x.split("<STR_LIT:U+0020>"), filter(None, output[<NUM_LIT:1>:])))<EOL>self.__timestamps_unregulated[<EOL>original_audio_name + "<STR_LIT>"] = [(<EOL>self._timestamp_extractor_cmu(<EOL>staging_audio_basename,<EOL>str_timestamps_with_sil_conf))]<EOL>if self.get_verbosity():<EOL><INDENT>print("<STR_LIT>".format(staging_audio_basename))<EOL><DEDENT><DEDENT>except OSError as e:<EOL><INDENT>if self.get_verbosity():<EOL><INDENT>print(e, "<STR_LIT>".format(<EOL>pocketsphinx_command))<EOL><DEDENT>self.__errors[(time(), staging_audio_basename)] = e<EOL><DEDENT><DEDENT>self._timestamp_regulator()<EOL>if self.get_verbosity():<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>
Indexes audio with pocketsphinx. Beware that the output would not be
sufficiently accurate. Use this only if you don't want to upload your
files to IBM.

Parameters
-----------
basename : str, optional
    A specific basename to be indexed and is placed in src_dir
    E.g. `audio.wav`.

    If `None` is selected, all the valid audio files would be indexed.
    Default is `None`.

Raises
------
OSError
    If the output of pocketsphinx command results in an error.