User guide

SpeechBrain is an open-source and all-in-one speech toolkit based on PyTorch. This documentation is intended to give SpeechBrain users all the API information necessary to develop their projects. For tutorials, please refer to the official Github or the official Website.

License

SpeechBrain is released under the Apache License, version 2.0. The Apache license is a popular BSD-like license. SpeechBrain can be redistributed for free, even for commercial purposes, although you can not take off the license headers (and under some circumstances you may have to distribute a license document). Apache is not a viral license like the GPL, which forces you to release your modifications to the source code. Also note that this project has no connection to the Apache Foundation, other than that we use the same license terms.

It is a community project, which means that discussions are engaged community-wide while decisions are taken by Dr. Ravanelli and Dr. Parcollet with respect to the community views. There is no legal institution associated as an owner of SpeechBrain. Furthermore, and due to the Apache Licence, anyone that would disagree with the way the project is being run can fork it and start a new toolkit.

Referencing SpeechBrain

@misc{speechbrain,
    title={SpeechBrain: A General-Purpose Speech Toolkit},
    author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
    year={2021},
    eprint={2106.04624},
    archivePrefix={arXiv},
    primaryClass={eess.AS}
}

API Documentation

speechbrain

Comprehensive speech processing toolkit

speechbrain.alignment

Tools for aligning transcripts and speech signals

speechbrain.augment

Package containing various techniques of data augmentation

speechbrain.dataio

Data loading and dataset preprocessing

speechbrain.decoders

Package containing the different decoders (ctc, beamsearch ...)

speechbrain.inference

Importing all the inference interfaces

speechbrain.k2_integration

Package providing k2-fsa integration.

speechbrain.lm

Package defining language models

speechbrain.lobes

Package defining common blocks (DNN models, processing ...)

speechbrain.nnet

Package containing the different neural networks layers

speechbrain.processing

Package containing various techniques of speech processing

speechbrain.tokenizers

Package defining the SentencePiece tokenizer

speechbrain.utils

Package containing various tools (accuracy, checkpoints ...)

speechbrain.wordemb

hyperpyyaml.core

This library gathers utilities for hyperpyyaml loading