Datasets:
Commit ·
afb4e55
1
Parent(s): 7aa3f95
metadata
Browse files
README.md
CHANGED
|
@@ -25,11 +25,11 @@ configs:
|
|
| 25 |
- config_name: default
|
| 26 |
data_files:
|
| 27 |
- split: train
|
| 28 |
-
path:
|
| 29 |
- config_name: original
|
| 30 |
data_files:
|
| 31 |
- split: train
|
| 32 |
-
path:
|
| 33 |
dataset_info:
|
| 34 |
- config_name: default
|
| 35 |
features:
|
|
@@ -45,14 +45,10 @@ dataset_info:
|
|
| 45 |
dtype: string
|
| 46 |
- name: gender
|
| 47 |
dtype: string
|
| 48 |
-
- name: age
|
| 49 |
-
dtype: int64
|
| 50 |
- name: pipeline
|
| 51 |
dtype: string
|
| 52 |
- name: sentence_id
|
| 53 |
dtype: int64
|
| 54 |
-
- name: duration_s
|
| 55 |
-
dtype: float64
|
| 56 |
- config_name: original
|
| 57 |
features:
|
| 58 |
- name: audio
|
|
@@ -67,18 +63,10 @@ dataset_info:
|
|
| 67 |
dtype: string
|
| 68 |
- name: gender
|
| 69 |
dtype: string
|
| 70 |
-
- name: age
|
| 71 |
-
dtype: int64
|
| 72 |
- name: pipeline
|
| 73 |
dtype: string
|
| 74 |
- name: sentence_id
|
| 75 |
dtype: int64
|
| 76 |
-
- name: duration_s
|
| 77 |
-
dtype: float64
|
| 78 |
-
- name: sample_rate
|
| 79 |
-
dtype: int64
|
| 80 |
-
- name: channels
|
| 81 |
-
dtype: int64
|
| 82 |
---
|
| 83 |
|
| 84 |
- **Developed by:**Researcher at Dept. of CSE, SUST, Bangladesh
|
|
@@ -91,14 +79,14 @@ dataset_info:
|
|
| 91 |
> This dataset is released ahead of its companion manuscript,
|
| 92 |
> *"BPAC: How Detectable Is Regional Accent in Read Bangla? A Parallel
|
| 93 |
> Corpus and Its Phonetic Structure."* Please cite the **dataset directly**
|
| 94 |
-
> (see [Citation](#citation) below) until the paper is published
|
| 95 |
> card will be updated with the full citation at that point.
|
| 96 |
|
| 97 |
## Dataset summary
|
| 98 |
|
| 99 |
BPAC is a **parallel**, regional-accent speech corpus for Bangla (Bengali):
|
| 100 |
-
**51 native speakers from 8 regions of Bangladesh**
|
| 101 |
-
Dhaka, Faridpur, Khulna, Mymensingh, Rajshahi, and Rangpur
|
| 102 |
**identical, phonetically diverse 250-sentence script**, so that region and
|
| 103 |
speaker vary while linguistic content is held fixed by design. The result
|
| 104 |
is **12,747 utterances** (three recordings were excluded as unusably short
|
|
@@ -110,7 +98,7 @@ Bangla speech corpus we are aware of: it is the only one, to our knowledge,
|
|
| 110 |
in which the *same* text is read in full by a defined sample of speakers
|
| 111 |
across multiple named regions, making it usable for accent detectability
|
| 112 |
research, accent/voice conversion (a same-content reference exists for
|
| 113 |
-
every utterance), and accent-controlled ASR evaluation
|
| 114 |
general-purpose ASR acoustic modeling.
|
| 115 |
|
| 116 |
- **Speakers**: 51 (25 female, 26 male), aged 19–25
|
|
@@ -172,45 +160,68 @@ root folder and the underlying audio differ.
|
|
| 172 |
|
| 173 |
|
| 174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
**Important confound to be aware of**: recording pipeline is perfectly
|
| 176 |
-
confounded with gender in this corpus
|
| 177 |
app recording is female. No claim about pipeline/channel effects can be
|
| 178 |
separated from gender effects using this corpus alone; any apparent
|
| 179 |
"pipeline effect" is equally validly read as a "gender effect," and vice
|
| 180 |
versa.
|
| 181 |
|
| 182 |
-
## How to load
|
| 183 |
|
|
|
|
|
|
|
|
|
|
| 184 |
```python
|
| 185 |
from datasets import load_dataset
|
| 186 |
-
|
|
|
|
| 187 |
ds = load_dataset("ArfatulAsif/BPAC")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
print(ds["train"][0])
|
| 189 |
```
|
| 190 |
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
```python
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
row = ds["train"][0]
|
| 203 |
-
orig_audio, orig_sr = sf.read(row["file_name_original"])
|
| 204 |
-
# or, if you downloaded the repo locally rather than via load_dataset:
|
| 205 |
-
# orig_audio, orig_sr = sf.read(os.path.join(local_repo_dir, "data_original", ...))
|
| 206 |
```
|
| 207 |
-
|
| 208 |
-
To
|
| 209 |
-
|
| 210 |
-
|
| 211 |
```python
|
| 212 |
-
|
|
|
|
| 213 |
```
|
|
|
|
|
|
|
| 214 |
|
| 215 |
## Audio format
|
| 216 |
|
|
|
|
| 25 |
- config_name: default
|
| 26 |
data_files:
|
| 27 |
- split: train
|
| 28 |
+
path: data/**
|
| 29 |
- config_name: original
|
| 30 |
data_files:
|
| 31 |
- split: train
|
| 32 |
+
path: data_original/**
|
| 33 |
dataset_info:
|
| 34 |
- config_name: default
|
| 35 |
features:
|
|
|
|
| 45 |
dtype: string
|
| 46 |
- name: gender
|
| 47 |
dtype: string
|
|
|
|
|
|
|
| 48 |
- name: pipeline
|
| 49 |
dtype: string
|
| 50 |
- name: sentence_id
|
| 51 |
dtype: int64
|
|
|
|
|
|
|
| 52 |
- config_name: original
|
| 53 |
features:
|
| 54 |
- name: audio
|
|
|
|
| 63 |
dtype: string
|
| 64 |
- name: gender
|
| 65 |
dtype: string
|
|
|
|
|
|
|
| 66 |
- name: pipeline
|
| 67 |
dtype: string
|
| 68 |
- name: sentence_id
|
| 69 |
dtype: int64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
---
|
| 71 |
|
| 72 |
- **Developed by:**Researcher at Dept. of CSE, SUST, Bangladesh
|
|
|
|
| 79 |
> This dataset is released ahead of its companion manuscript,
|
| 80 |
> *"BPAC: How Detectable Is Regional Accent in Read Bangla? A Parallel
|
| 81 |
> Corpus and Its Phonetic Structure."* Please cite the **dataset directly**
|
| 82 |
+
> (see [Citation](#citation) below) until the paper is published, this
|
| 83 |
> card will be updated with the full citation at that point.
|
| 84 |
|
| 85 |
## Dataset summary
|
| 86 |
|
| 87 |
BPAC is a **parallel**, regional-accent speech corpus for Bangla (Bengali):
|
| 88 |
+
**51 native speakers from 8 regions of Bangladesh**; Sylhet, Chattogram,
|
| 89 |
+
Dhaka, Faridpur, Khulna, Mymensingh, Rajshahi, and Rangpur; each read an
|
| 90 |
**identical, phonetically diverse 250-sentence script**, so that region and
|
| 91 |
speaker vary while linguistic content is held fixed by design. The result
|
| 92 |
is **12,747 utterances** (three recordings were excluded as unusably short
|
|
|
|
| 98 |
in which the *same* text is read in full by a defined sample of speakers
|
| 99 |
across multiple named regions, making it usable for accent detectability
|
| 100 |
research, accent/voice conversion (a same-content reference exists for
|
| 101 |
+
every utterance), and accent-controlled ASR evaluation, not only
|
| 102 |
general-purpose ASR acoustic modeling.
|
| 103 |
|
| 104 |
- **Speakers**: 51 (25 female, 26 male), aged 19–25
|
|
|
|
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
+
## Composition by region
|
| 164 |
+
|
| 165 |
+
Every speaker read all 250 sentences. There are no missing
|
| 166 |
+
(speaker, sentence) cells beyond the three excluded empty files.
|
| 167 |
+
|
| 168 |
+
| Region | Male | Female | Speakers | Utterances | Audio (min) | Mean utt. (s) |
|
| 169 |
+
|---|---|---|---|---|---|---|
|
| 170 |
+
| Sylhet | 6 | 4 | 10 | 2,500 | 297.2 | 7.13 |
|
| 171 |
+
| Faridpur | 4 | 3 | 7 | 1,749 | 231.1 | 7.92 |
|
| 172 |
+
| Dhaka | 3 | 3 | 6 | 1,500 | 210.2 | 8.41 |
|
| 173 |
+
| Chattogram | 3 | 3 | 6 | 1,500 | 206.7 | 8.27 |
|
| 174 |
+
| Khulna | 3 | 3 | 6 | 1,500 | 200.3 | 8.01 |
|
| 175 |
+
| Rajshahi | 3 | 3 | 6 | 1,500 | 190.3 | 7.61 |
|
| 176 |
+
| Mymensingh | 2 | 3 | 5 | 1,248 | 167.0 | 8.02 |
|
| 177 |
+
| Rangpur | 2 | 3 | 5 | 1,250 | 161.6 | 7.76 |
|
| 178 |
+
| **Total** | **26** | **25** | **51** | **12,747** | **1,664.5** | **7.83** |
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
|
| 183 |
**Important confound to be aware of**: recording pipeline is perfectly
|
| 184 |
+
confounded with gender in this corpus. Every lab recording is male, every
|
| 185 |
app recording is female. No claim about pipeline/channel effects can be
|
| 186 |
separated from gender effects using this corpus alone; any apparent
|
| 187 |
"pipeline effect" is equally validly read as a "gender effect," and vice
|
| 188 |
versa.
|
| 189 |
|
|
|
|
| 190 |
|
| 191 |
+
|
| 192 |
+
## How to load
|
| 193 |
+
|
| 194 |
```python
|
| 195 |
from datasets import load_dataset
|
| 196 |
+
|
| 197 |
+
# 16 kHz working corpus (default)
|
| 198 |
ds = load_dataset("ArfatulAsif/BPAC")
|
| 199 |
+
|
| 200 |
+
# original-rate recordings
|
| 201 |
+
ds_orig = load_dataset("ArfatulAsif/BPAC", "original")
|
| 202 |
+
|
| 203 |
print(ds["train"][0])
|
| 204 |
```
|
| 205 |
|
| 206 |
+
Both configs decode audio automatically, so `ds["train"][0]["audio"]`
|
| 207 |
+
returns a dict containing the decoded waveform array and its sampling
|
| 208 |
+
rate, alongside every metadata field.
|
| 209 |
+
|
| 210 |
+
To retrieve every speaker's recording of a specific sentence the core
|
| 211 |
+
parallel-corpus operation:
|
| 212 |
+
|
|
|
|
| 213 |
```python
|
| 214 |
+
sentence_42 = ds["train"].filter(lambda x: x["sentence_id"] == 42)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 215 |
```
|
| 216 |
+
|
| 217 |
+
To work within a single region or recording pipeline:
|
| 218 |
+
|
|
|
|
| 219 |
```python
|
| 220 |
+
sylhet = ds["train"].filter(lambda x: x["region"] == "sylhet")
|
| 221 |
+
lab_only = ds["train"].filter(lambda x: x["pipeline"] == "lab")
|
| 222 |
```
|
| 223 |
+
|
| 224 |
+
|
| 225 |
|
| 226 |
## Audio format
|
| 227 |
|
metadata.csv → data/metadata.csv
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
data/chattogram/chattogram_female_001_001.wav,chattogram_female_001_001,chattogram_female_001,chattogram,female,app,1,গত শুক্রবার তাঁরা প্রায় এক ঘণ্টা ধরে হোয়াইট হাউসে বৈঠক করেছেন।
|
| 3 |
data/chattogram/chattogram_female_001_002.wav,chattogram_female_001_002,chattogram_female_001,chattogram,female,app,2,ভারতের হয়ে একাই চার উইকেট শিকার করেছেন কুলদীপ যাদব।
|
| 4 |
data/chattogram/chattogram_female_001_003.wav,chattogram_female_001_003,chattogram_female_001,chattogram,female,app,3,শুরুতে শুধু ফোনে ভিডিও করতেন।
|
|
|
|
| 1 |
+
file_name,utterance_id,speaker_id,region,gender,pipeline,sentence_id,sentence
|
| 2 |
data/chattogram/chattogram_female_001_001.wav,chattogram_female_001_001,chattogram_female_001,chattogram,female,app,1,গত শুক্রবার তাঁরা প্রায় এক ঘণ্টা ধরে হোয়াইট হাউসে বৈঠক করেছেন।
|
| 3 |
data/chattogram/chattogram_female_001_002.wav,chattogram_female_001_002,chattogram_female_001,chattogram,female,app,2,ভারতের হয়ে একাই চার উইকেট শিকার করেছেন কুলদীপ যাদব।
|
| 4 |
data/chattogram/chattogram_female_001_003.wav,chattogram_female_001_003,chattogram_female_001,chattogram,female,app,3,শুরুতে শুধু ফোনে ভিডিও করতেন।
|
metadata_original.csv → data_original/metadata.csv
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
data_original/chattogram/chattogram_female_001_001.wav,chattogram_female_001_001,chattogram_female_001,chattogram,female,app,1,গত শুক্রবার তাঁরা প্রায় এক ঘণ্টা ধরে হোয়াইট হাউসে বৈঠক করেছেন।
|
| 3 |
data_original/chattogram/chattogram_female_001_002.wav,chattogram_female_001_002,chattogram_female_001,chattogram,female,app,2,ভারতের হয়ে একাই চার উইকেট শিকার করেছেন কুলদীপ যাদব।
|
| 4 |
data_original/chattogram/chattogram_female_001_003.wav,chattogram_female_001_003,chattogram_female_001,chattogram,female,app,3,শুরুতে শুধু ফোনে ভিডিও করতেন।
|
|
|
|
| 1 |
+
file_name,utterance_id,speaker_id,region,gender,pipeline,sentence_id,sentence
|
| 2 |
data_original/chattogram/chattogram_female_001_001.wav,chattogram_female_001_001,chattogram_female_001,chattogram,female,app,1,গত শুক্রবার তাঁরা প্রায় এক ঘণ্টা ধরে হোয়াইট হাউসে বৈঠক করেছেন।
|
| 3 |
data_original/chattogram/chattogram_female_001_002.wav,chattogram_female_001_002,chattogram_female_001,chattogram,female,app,2,ভারতের হয়ে একাই চার উইকেট শিকার করেছেন কুলদীপ যাদব।
|
| 4 |
data_original/chattogram/chattogram_female_001_003.wav,chattogram_female_001_003,chattogram_female_001,chattogram,female,app,3,শুরুতে শুধু ফোনে ভিডিও করতেন।
|