pere commited on
Commit
e87436f
1 Parent(s): 532287b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -18
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
- ### Dataset Summary
62
- The NPSC dataset contains json lines with language training data. Here is an example json line:
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 (!!!!We really need a descrption here - and maybe some cleaning!!!)
85
  |**Key** | **Type** | **Description** |
86
  |:-----------|:------------|:------------|
87
- |**sentence_id:** | Integer | String with id to source of line and a unique identifier|
88
- |**sentence_order** | String | with order of sentence |
89
- |**speaker id** | Integer | id of speaker |
90
- | **speaker_name** | String | name of speaker |
91
- | **sentence_text** | String | sentence text |
92
- | **sentence_language_code** | String | sentence text (!!!LIST ALL ALTERNATIVES!!!)|
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 | end time |
96
- | **normsentence_text** | String | normalised sentence text |
97
- | **transsentence_text** | String | translated sentence text |
98
- | **translated** | Integer | text translated |
99
- | **audio** | Array | Encoded audio with 'path', 'array','sampling_rate' |
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