Datasets:
small fix in json file
Browse files62 unmodified lines6364656667686970717273747576777879808182838485868788899091922 unmodified lines959697989910010110210310410510610710810911011111211311411511611711811962 unmodified linesdata = load_dataset("nb/NPSC", streaming=True)```## Dataset SummaryThe NPSC dataset contains json lines with language training data. Here is an example json line:```json{"sentence_id": 49853,"sentence_order": 0,"speaker_id": 32,"speaker_name": "Olemic Thommessen","sentence_text": "Stortingets møte er lovlig satt","sentence_language_code": "nb-NO","text": "Stortingets møte er lovlig satt","start_time": 320246, "end_time": 323590,"normsentence_text": "Stortingets møte er lovlig satt","transsentence_text": "Stortingets møte er lovleg sett","translated": 1,"audio": {"path": "audio/20170110-095504_320246_323590.wav","array": [.......]}}```## Data FieldsCurrently there are two versions included in this repo.2 unmodified linesThe current dataloader script is associated with this version.|**id:** | String with id to source of line and a unique identifier||:-----------|:------------||**sentence_order** | String with order of sentence ||**speaker id** | Integer id of speaker || **speaker_name** | String name of speaker || **sentence_text** | String sentence text || **sentence_language_code** | String sentence text || **text** | String sentence text || **start_time** | int start time || **end_time** | int end time || **normsentence_text** | String normalised sentence text || **transsentence_text** | String translated sentence text || **translated** | int text translated || **audio** | audio audio record with 'path',(mp3) 'array','sampling_rate' (48000) |### Version BThis verison does not contain the audio encoded in the dataset. Instead it has the audio files placed in sub-directories. There are currently both samples in clips_48k_wav and clips_16k_mp3. Only the base filename is referred in the dataset. Please not that there are both sentence-based audio clips as well at meeting-based audio clips. The dataset contains referrals to both, the latter referral has start and stop time as well.### Dataset CreationWe are providing a **train**, **dev** and **test** split. These are the same as in the orginal corpus.62 unmodified lines6364656667682 unmodified lines717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213362 unmodified linesdata = load_dataset("nb/NPSC", streaming=True)```## Data FieldsCurrently there are two versions included in this repo.2 unmodified linesThe current dataloader script is associated with this version.One line in train.json looks like this:```json{"sentence_id": 7309,"sentence_order": 0,"speaker_id": 1,"speaker_name": "Marit Nybakk","sentence_text": "Stortingets møte er lovlig satt","sentence_language_code": "nb-NO","text": "Stortingets møte er lovlig satt","start_time": 302650,"end_time": 306000,"normsentence_text": "Stortingets møte er lovlig satt","transsentence_text": "Stortingets møte er lovleg sett","translated": 1,"audio": {"path": "audio/20170207-095506_302650_306000.wav","array": [24,25,50,(...)],"sampling_rate": 48000}}```### Version BThis verison does not contain the audio encoded in the dataset. Instead it has the audio files placed in sub-directories. There are currently both samples in clips_48k_wav and clips_16k_mp3. Only the base filename is referred in the dataset. Please not that there are both sentence-based audio clips as well at meeting-based audio clips. The dataset contains referrals to both, the latter referral has start and stop time as well.One line in the metadata.json looks like this:```jsoni{"meeting_date": "20170207","full_audio_file": "20170207-095506","proceedings_file": "20170207-095506.ref","duration": 4442474,"transcriber_id": 1,"reviewer_id": 2,"data_split": "test","speaker_name": "Marit Nybakk","speaker_id": 1,"sentence_id": 7309,"sentence_language_code": "nb-NO","sentence_text": "Stortingets møte er lovlig satt","sentence_order": 0,"audio_file": "20170207-095506_302650_306000","start_time": 302650,"end_time": 306000,"normsentence_text": "Stortingets møte er lovlig satt","transsentence_text": "Stortingets møte er lovleg sett","translated": 1}```### Dataset CreationWe are providing a **train**, **dev** and **test** split. These are the same as in the orginal corpus.
123version https://git-lfs.github.com/spec/v1oid sha256:950bb11d677996a46daa0eb6c6d2133791abc8e9894155b0cbd816d5b36fd4d2size 582README.md+52-38
x.jsonAdded+3