Datasets:
Tags:
speech-modeling
License:
Update README.md
Browse files
README.md
CHANGED
@@ -58,8 +58,8 @@ from datasets import load_dataset
|
|
58 |
data = load_dataset("NbAiLab/NPSC", config="16K_mp3_bokmaal", streaming=True)
|
59 |
```
|
60 |
|
61 |
-
|
62 |
-
The NPSC dataset contains
|
63 |
```json
|
64 |
{
|
65 |
"sentence_id": 49853,
|
@@ -76,27 +76,24 @@ The NPSC dataset contains json lines with language training data. Here is an exa
|
|
76 |
"translated": 1,
|
77 |
"audio": {"path": "audio/20170110-095504_320246_323590.wav","array": [.......]}
|
78 |
}
|
79 |
-
!!!PES: Not all the fields above and below correspond to what is actually found
|
80 |
-
in the json files. It would be good if you could correct this. When you have, I can
|
81 |
-
add further descriptions of the fields where needed.!!!
|
82 |
|
83 |
```
|
84 |
-
## Data Fields
|
85 |
|**Key** | **Type** | **Description** |
|
86 |
|:-----------|:------------|:------------|
|
87 |
-
|**sentence_id:** | Integer | String with id to source of line and a unique identifier
|
88 |
-
|**sentence_order** | String |
|
89 |
-
|**speaker id** | Integer |
|
90 |
-
| **speaker_name** | String |
|
91 |
-
| **sentence_text** | String | sentence text |
|
92 |
-
| **sentence_language_code** | String | sentence
|
93 |
| **text** | String | sentence text. This is a copy of "sentence_text". It is included here to make it more convenient to interleave with other datasets.|
|
94 |
-
| **start_time** | Integer | start time |
|
95 |
-
| **end_time** | Integer |
|
96 |
-
| **normsentence_text** | String |
|
97 |
-
| **transsentence_text** | String |
|
98 |
-
| **translated** | Integer |
|
99 |
-
| **audio** | Array |
|
100 |
|
101 |
|
102 |
|
|
|
58 |
data = load_dataset("NbAiLab/NPSC", config="16K_mp3_bokmaal", streaming=True)
|
59 |
```
|
60 |
|
61 |
+
## Dataset Summary
|
62 |
+
The NPSC dataset contains JSON lines with language training data. The data loader will add audio data to this structure. Here is an example json object.:
|
63 |
```json
|
64 |
{
|
65 |
"sentence_id": 49853,
|
|
|
76 |
"translated": 1,
|
77 |
"audio": {"path": "audio/20170110-095504_320246_323590.wav","array": [.......]}
|
78 |
}
|
|
|
|
|
|
|
79 |
|
80 |
```
|
81 |
+
## Data Fields
|
82 |
|**Key** | **Type** | **Description** |
|
83 |
|:-----------|:------------|:------------|
|
84 |
+
|**sentence_id:** | Integer | String with id to source of line and a unique identifier ????|
|
85 |
+
|**sentence_order** | String | The order of sentence ???|
|
86 |
+
|**speaker id** | Integer | The ID of the speaker. This can be linked to the original dataset containing thorough demographic information about the speaker. |
|
87 |
+
| **speaker_name** | String | Name of the speaker. All speakers are members of the Norwegian Parliament. |
|
88 |
+
| **sentence_text** | String | The sentence text. |
|
89 |
+
| **sentence_language_code** | String | The language code of the sentence. The following alternatives exists in the file: ['nb-NO'. 'nn-NO', 'en??]|
|
90 |
| **text** | String | sentence text. This is a copy of "sentence_text". It is included here to make it more convenient to interleave with other datasets.|
|
91 |
+
| **start_time** | Integer | The start time of the sentence. This time is relative to the day of the meeting. |
|
92 |
+
| **end_time** | Integer | End time. See comment above. |
|
93 |
+
| **normsentence_text** | String | Normalised sentence text. This is !!! |
|
94 |
+
| **transsentence_text** | String | Translated sentence text. This is !!! |
|
95 |
+
| **translated** | Integer | A flag indicating if.... |
|
96 |
+
| **audio** | Array | The dataloader will encode the accociated audio files and provide them as an array containing 'path', 'sound array','sampling_rate' |
|
97 |
|
98 |
|
99 |
|