Python API

Details about the Voxforge database can be found here: http://www.voxforge.org/

bob.db.voxforge.get_config()[source]

Returns a string containing the configuration information.

class bob.db.voxforge.Client(client_id)

Bases: object

The clients of this database contain ONLY client ids. Nothing special.

class bob.db.voxforge.Database(original_directory=None, original_extension=None)[source]

Bases: bob.bio.base.database.FileListBioDatabase

Wrapper class for the subVoxforge database for speaker recognition (http://www.voxforge.org/). this class defines a simple protocol for training, dev and and by splitting the audio files of the database in three main parts.

class bob.db.voxforge.FileListFile(file_name, client_id, model_id=None, claimed_id=None)

Bases: object

Initialize the File object with the minimum required data.

If the model_id is not specified, model_id and client_id are identical. If the claimed_id is not specified, it is expected to be the client_id.

Parameters

client_id
: various type
The id of the client, this file belongs to. The type of it is dependent on your implementation. If you use an SQL database, this should be an SQL type like Integer or String.
path
: str
The path of this file, relative to the basic directory. If you use an SQL database, this should be the SQL type String. Please do not specify any file extensions.
file_id
: various type
The id of the file. The type of it is dependent on your implementation. If you use an SQL database, this should be an SQL type like Integer or String. If you are using an automatically determined file id, you can skip selecting the file id.