Coverage for src/bob/bio/spear/config/database/mini_voxforge.py: 0%
3 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-06 22:04 +0100
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-06 22:04 +0100
1#!/usr/bin/env python
2# @author: Yannick Dayer <yannick.dayer@idiap.ch>
3# @date: Mon 13 Feb 2022 16:34:27 UTC+01
5"""Mini Subset of VoxForge CSV database interface default configuration
7VoxForge is an open speech dataset that was set up to collect transcribed speech for
8use with Free and Open Source Speech Recognition Engines. (http://www.voxforge.org/)
10This database interface uses a subset of the full dataset used for speaker recognition.
11The list of data files in the subset is defined by a CSV file for each protocol. Use
12the ``bob db voxforge-download`` command to retrieve those data files if needed, and
13set the config with the correct path with ``bob config set bob.db.voxforge.directory``.
15The protocol definition files are available at
16https://www.idiap.ch/software/bob/data/bob/bob.bio.spear/ and downloaded automatically
17(by default into ``bob_data_folder`` which is configurable with ``bob config``).
20Usage
21-----
23Feed this file (also defined as a ``mini-voxforge`` resource) to ``bob bio pipelines``
24as configuration::
26 $ bob bio pipeline simple mini-voxforge <pipeline_name> -vv
27"""
29from bob.bio.spear.database import VoxforgeDatabase
31database = VoxforgeDatabase(protocol="Mini")