Python API¶
Details about the Voxforge database can be found here: http://www.voxforge.org/
-
class
bob.db.voxforge.Client(client_id)¶ Bases:
objectThe 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.FileListBioDatabaseWrapper 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:
objectInitialize the File object with the minimum required data.
If the
model_idis not specified,model_idandclient_idare identical. If theclaimed_idis not specified, it is expected to be theclient_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.