Implementation:Speechbrain Speechbrain Prepare CommonLanguage LangId
| Knowledge Sources | |
|---|---|
| Domains | Language Identification, Data Preparation |
| Last Updated | 2026-02-09 00:00 GMT |
Overview
Variant of the CommonLanguage data preparation script for the language identification recipe.
Description
This file (recipes/CommonLanguage/lang_id/common_language_prepare.py) is a copy of the canonical CommonLanguage data preparation script. It provides the same prepare_common_language function with identical parameters and behavior, placed within the lang_id recipe subdirectory for convenience. The canonical implementation is documented on the Implementation:Speechbrain_Speechbrain_Prepare_CommonLanguage page.
Usage
Use this when preparing the CommonLanguage dataset specifically for the language identification recipe. See the canonical page for full details.
Code Reference
Source Location
- Repository: SpeechBrain
- File: recipes/CommonLanguage/lang_id/common_language_prepare.py
Canonical Implementation
This is a duplicate of the root-level CommonLanguage preparation script. For full documentation including signature, I/O contract, and usage examples, see:
Related Pages
- Implementation:Speechbrain_Speechbrain_Prepare_CommonLanguage -- Canonical implementation page
- Principle:Speechbrain_Speechbrain_Dataset_Specific_Data_Preparation