dlpy.audio.AudioTable.load_audio_metadata_speechrecognition

classmethod AudioTable.load_audio_metadata_speechrecognition(conn, path, audio_path)

Pre-process and loads the metadata

Parameters:
conn : CAS

A connection object to the current session.

path : string

Location to the input metadata file.

audio_path : delimiter

Delimiter for the metadata file.

Returns:
CASTable

Examples

>>> import swat
>>> from dlpy.audio import AudioTable
>>> s=swat.CAS("cloud.example.com", 5570)
>>> aud_tbl = AudioTable.load_audio_metadata_speechrecognition(s, path="/path/to/metadata/file.txt", audio_path="/path/to/audio/file.txt")
>>> aud_tbl.set_connection(s)