Datasets:
NPSC_test

Task Categories: sequence-modeling
Multilinguality: monolingual
Size Categories: 2G<n<1B
Language Creators: found
Annotations Creators: no-annotation
Source Datasets: original
Dataset Preview Go to dataset viewer
sentence_id (int)sentence_order (int)speaker_id (int)speaker_name (string)sentence_text (string)sentence_language_code (string)text (string)start_time (int)end_time (int)normsentence_text (string)transsentence_text (string)translated (int)audio (json)
49,853
0
32
Olemic Thommessen
Stortingets møte er lovlig satt
nb-NO
Stortingets møte er lovlig satt
320,246
323,590
Stortingets møte er lovlig satt
Stortingets møte er lovleg sett
1
{"path":"audio/20170110-095504_320246_323590.wav","array":[274.0,274.0,289.0,289.0,299.0,299.0,320.0 (...TRUNCATED)
49,854
1
32
Olemic Thommessen
"da dette er første møte i det nye året vil presidenten benytte anledningen til å ønske represe (...TRUNCATED)
nb-NO
"da dette er første møte i det nye året vil presidenten benytte anledningen til å ønske represe (...TRUNCATED)
324,906
338,180
"da dette er første møte i det nye året vil presidenten benytte anledningen til å ønske represe (...TRUNCATED)
"då dette er første møte i det nye året vil presidenten nytte høvet til å ønskje representant (...TRUNCATED)
1
{"path":"audio/20170110-095504_324906_338180.wav","array":[341.0,341.0,325.0,325.0,224.0,224.0,152.0 (...TRUNCATED)
49,855
2
32
Olemic Thommessen
on the gallery today we have a guest from Canada
en-US
on the gallery today we have a guest from Canada
339,080
342,630
on the gallery today we have a guest from Canada
on the gallery today we have a guest from Canada
0
{"path":"audio/20170110-095504_339080_342630.wav","array":[273.0,273.0,58.0,58.0,-145.0,-145.0,-266. (...TRUNCATED)
49,856
3
32
Olemic Thommessen
Speaker of the House of Commons the Honourable Geoff Regan
en-US
Speaker of the House of Commons the Honourable Geoff Regan
342,986
346,906
Speaker of the House of Commons the Honourable Geoff Regan
Speaker of the House of Commons the Honourable Geoff Regan
0
{"path":"audio/20170110-095504_342986_346906.wav","array":[-212.0,-212.0,-452.0,-452.0,-670.0,-670.0 (...TRUNCATED)
49,857
4
32
Olemic Thommessen
"the Speaker is on an official visit to Norway and the discussions among us cover issues such as Arc (...TRUNCATED)
en-US
"the Speaker is on an official visit to Norway and the discussions among us cover issues such as Arc (...TRUNCATED)
347,193
355,720
"the Speaker is on an official visit to Norway and the discussions among us cover issues such as Arc (...TRUNCATED)
"the Speaker is on an official visit to Norway and the discussions among us cover issues such as Arc (...TRUNCATED)
0
{"path":"audio/20170110-095504_347193_355720.wav","array":[291.0,291.0,279.0,279.0,153.0,153.0,-38.0 (...TRUNCATED)
49,858
5
32
Olemic Thommessen
thank you again for visiting Norway
en-US
thank you again for visiting Norway
356,160
359,266
thank you again for visiting Norway
thank you again for visiting Norway
0
{"path":"audio/20170110-095504_356160_359266.wav","array":[-82.0,-82.0,-102.0,-102.0,-106.0,-106.0,- (...TRUNCATED)
49,859
6
32
Olemic Thommessen
"a visit which improves the already strong relationship between our two parliaments and our two coun (...TRUNCATED)
en-US
"a visit which improves the already strong relationship between our two parliaments and our two coun (...TRUNCATED)
359,266
365,480
"a visit which improves the already strong relationship between our two parliaments and our two coun (...TRUNCATED)
"a visit which improves the already strong relationship between our two parliaments and our two coun (...TRUNCATED)
0
{"path":"audio/20170110-095504_359266_365480.wav","array":[-201.0,-201.0,-200.0,-200.0,-168.0,-168.0 (...TRUNCATED)
49,860
7
32
Olemic Thommessen
"representanten Øyvind Korsberg som har vært permittert har igjen tatt sete" (...TRUNCATED)
nb-NO
"representanten Øyvind Korsberg som har vært permittert har igjen tatt sete" (...TRUNCATED)
374,510
379,220
"representanten Øyvind Korsberg som har vært permittert har igjen tatt sete" (...TRUNCATED)
"representanten Øyvind Korsberg som har vore permittert har igjen teke sete" (...TRUNCATED)
1
{"path":"audio/20170110-095504_374510_379220.wav","array":[-332.0,-332.0,-335.0,-335.0,-319.0,-319.0 (...TRUNCATED)
49,861
8
32
Olemic Thommessen
følgende innkalte vararepresentanter tar nå sete
nb-NO
følgende innkalte vararepresentanter tar nå sete
379,446
383,046
følgende innkalte vararepresentanter tar nå sete
følgjande innkalla vararepresentantar tek no sete
1
{"path":"audio/20170110-095504_379446_383046.wav","array":[137.0,137.0,219.0,219.0,218.0,218.0,119.0 (...TRUNCATED)
49,862
9
32
Olemic Thommessen
for Buskerud fylke Tone Heimdal Brataas
nb-NO
for Buskerud fylke Tone Heimdal Brataas
383,046
385,326
for Buskerud fylke Tone Heimdal Brataas
for Buskerud fylke Tone Heimdal Brataas
1
{"path":"audio/20170110-095504_383046_385326.wav","array":[87.0,87.0,103.0,103.0,121.0,121.0,153.0,1 (...TRUNCATED)
YAML Metadata Error: "licenses" is deprecated. Use "license" instead.
YAML Metadata Error: "languages" is deprecated. Use "language" instead.

Dataset Card for NBAiLab/NPSC

The Norwegian Parliament Speech Corpus (NPSC) is a corpus for training a Norwegian ASR (Automatic Speech Recognition) models. The corpus is created by Språkbanken at the National Library in Norway.

NPSC is based on sound recording from meeting in the Norwegian Parliament. These talks are orthographically transcribed to either Norwegian Bokmål or Norwegian Nynorsk. In addition to the data actually included in this dataset, there is a significant amount of metadata that is included in the original corpus. Through the speaker id there is additional information about the speaker, like gender, age, and place of birth (ie dialect). Through the proceedings id the corpus can be linked to the official proceedings from the meetings.

The corpus is in total sound recordings from 40 entire days of meetings. This amounts to 140 hours of speech, 65,000 sentences or 1.2 million words.

This corpus is an adaption of the original corpus made for efficiant ASR training. For simplicity and portability, a few of the original datasets features, like the token transcription, is ommitted. You can find the complete dataset at the Resource Catalogue at Språkbanken.

How to Use (This needs to be edited of course)

from datasets import load_dataset
data = load_dataset("nb/NPSC", streaming=True)

Data Fields

Currently there are two versions included in this repo.

Version A

This verison has a short list of the metadata and includes the audio (48k mp3) encoded as a float32 array in the dataset itself.

The current dataloader script is associated with this version.

One line in train.json looks like this:

{
  "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 B

This 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 train/metadata.json looks like this:

{
  "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 Creation

We are providing a train, dev and test split. These are the same as in the orginal corpus.

Build date: 20012022

Initial Data Collection and Curation

The procedure for the dataset creation is described in detail in the paper.

Statistics

Feature Value
Duration, pauses included 140,3 hours
Duration, pauses not included 125,7 hours
Word count 1,2 million
Sentence count 64.531
Language distribution Nynorsk: 12,8%
Bokmål: 87,2%%
Gender distribution Female: 38,3%
Male: 61.7%

Considerations for Using the Data

This corpus contains speech data and is allowed to be used outside the National Library of Norway for speech recognition technology purposes.

Discussion of Biases

Please refer to our paper.

Dataset Curators

Per Erik Solberg

Freddy Wetjen, Andre Kaasen and Per Egil Kummervold has contributed to porting it to the Hugging Face Dataset format.

Licensing Information

Licensed for use outside the National Library of Norway.

License

CC-ZERO(https://creativecommons.org/publicdomain/zero/1.0/)

Citation Information

We are preparing an article with detailed information about this corpus. Until it is published, please cite out paper discussing the first version of this corpus:

ANDRE: TO BE DONE
Edit dataset card
Evaluate models HF Leaderboard