RodrigoLimaRFL commited on
Commit
8fba5e8
·
verified ·
1 Parent(s): 5d059c4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -18
README.md CHANGED
@@ -1,35 +1,52 @@
1
  ---
2
  license: mit
 
 
 
 
3
  ---
4
 
5
  ## How to Load the Dataset
6
 
7
- There are 2 configurations: **"prosodic"** and **"automatic"**. Below are the parameters for each configuration:
8
 
9
  ``` python
10
  prosodic = load_dataset("nilc-nlp/NURC-SP_ENTOA_TTS", name="prosodic", trust_remote_code=True)
11
  automatic = load_dataset("nilc-nlp/NURC-SP_ENTOA_TTS", name = "automatic", trust_remote_code=True)
 
12
  ```
13
 
 
 
14
  ### Prosodic Parameters
15
- - `"path": datasets.Value("string")`
16
- - `"name": datasets.Value("string")`
17
- - `"speaker": datasets.Value("string")`
18
- - `"start_time": datasets.Value("string")`
19
- - `"end_time": datasets.Value("string")`
20
- - `"normalized_text": datasets.Value("string")`
21
- - `"text": datasets.Value("string")`
22
- - `"duration": datasets.Value("string")`
23
- - `"type": datasets.Value("string")`
24
- - `"year": datasets.Value("string")`
25
- - `"gender": datasets.Value("string")`
26
- - `"age_range": datasets.Value("string")`
27
- - `"total_duration": datasets.Value("string")`
28
- - `"quality": datasets.Value("string")`
29
- - `"theme": datasets.Value("string")`
30
- - `"audio": datasets.Audio(sampling_rate=16_000)`
31
 
32
  ### Automatic Parameters
 
 
 
 
 
 
 
 
 
 
33
  - audio_name: The name given to the audio in the database. All audios extracted from the same source have the same name.
34
  - file_path: The path to the audio file.
35
  - text: The human-verified trancription for the given audio.
@@ -44,4 +61,4 @@ automatic = load_dataset("nilc-nlp/NURC-SP_ENTOA_TTS", name = "automatic", trust
44
  - sex: The speaker's sex. Divided into 'F', 'M', 'F e F', 'F e M' and 'M e M' ('F' stands for female and 'M' stands for male). Note that some audio sources have more than one speaker, so in that case the sex refers to the main speaker or speakers.
45
  - age_range: The speaker's age range. Divided into 'I' (25 to 35), 'II' (36 to 55) and 'III' (over 55). Note that some audio sources have more than one speaker, so in that case the age range refers to the main speaker or speakers.
46
  - num_speakers: The number of speakers in the original source of the segment. This field was automatically writter by WhisperX, so it might not be accurate.
47
- - speaker_id: The speaker in the segment (each different speaker in the original source was given an integer id). This field was automatically writter by WhisperX, so it might not be accurate.
 
1
  ---
2
  license: mit
3
+ task_categories:
4
+ - text-to-speech
5
+ language:
6
+ - pt
7
  ---
8
 
9
  ## How to Load the Dataset
10
 
11
+ There are 3 configurations: **"prosodic"**, **"automatic"** and **"audioCorpus"**. To load the dataset with the HuggingFace *datasets* library, use the following code:
12
 
13
  ``` python
14
  prosodic = load_dataset("nilc-nlp/NURC-SP_ENTOA_TTS", name="prosodic", trust_remote_code=True)
15
  automatic = load_dataset("nilc-nlp/NURC-SP_ENTOA_TTS", name = "automatic", trust_remote_code=True)
16
+ audioCorpus = load_dataset("nilc-nlp/NURC-SP_ENTOA_TTS", name = "audioCorpus", trust_remote_code=True)
17
  ```
18
 
19
+ ## Parameters of each configuration
20
+
21
  ### Prosodic Parameters
22
+ - path: The path to the audio file.
23
+ - name: The name of the original audio.
24
+ - speaker: The speaker in the segment (each different speaker in the original source was given an integer id). This field was automatically writter by WhisperX, so it might not be accurate.
25
+ - start_time: The time the audio segment starts in the original source in seconds.
26
+ - end_time: The time the audio segment ends in the original source in seconds.
27
+ - normalized_text: The human-made trancription without prosodic markings for the given audio.
28
+ - text: The human-made trancription with prosodic markings for the given audio.
29
+ - duration: The duration of the audio segment in seconds.
30
+ - type: The type of the audio according to the original NURC-SP classification.
31
+ - year: The year the audio was recorded
32
+ - gender: he speaker's sex. Divided into 'F', 'M', 'F e F', 'F e M' and 'M e M' ('F' stands for female and 'M' stands for male). Note that some audio sources have more than one speaker, so in that case the sex refers to the main speaker or speakers.
33
+ - age_range: The speaker's age range. Divided into 'I' (25 to 35), 'II' (36 to 55) and 'III' (over 55). Note that some audio sources have more than one speaker, so in that case the age range refers to the main speaker or speakers.
34
+ - total_duration: The duration of the original audio in minutes.
35
+ - quality: The human-determined quality of the audio
36
+ - theme: The theme of the speech.
37
+ - audio: The audio data of the segment.
38
 
39
  ### Automatic Parameters
40
+ - path: The path to the audio file.
41
+ - name: The name of the original audio.
42
+ - speaker: The speaker in the segment (each different speaker in the original source was given an integer id). This field was automatically writter by WhisperX, so it might not be accurate.
43
+ - start_time: The time the audio segment starts in the original source in seconds.
44
+ - end_time: The time the audio segment ends in the original source in seconds.
45
+ - text: The automatic trancription for the given audio.
46
+ - duration: The duration of the audio segment in seconds.
47
+ - audio: The audio data of the segment.
48
+
49
+ ### AudioCorpus Parameters
50
  - audio_name: The name given to the audio in the database. All audios extracted from the same source have the same name.
51
  - file_path: The path to the audio file.
52
  - text: The human-verified trancription for the given audio.
 
61
  - sex: The speaker's sex. Divided into 'F', 'M', 'F e F', 'F e M' and 'M e M' ('F' stands for female and 'M' stands for male). Note that some audio sources have more than one speaker, so in that case the sex refers to the main speaker or speakers.
62
  - age_range: The speaker's age range. Divided into 'I' (25 to 35), 'II' (36 to 55) and 'III' (over 55). Note that some audio sources have more than one speaker, so in that case the age range refers to the main speaker or speakers.
63
  - num_speakers: The number of speakers in the original source of the segment. This field was automatically writter by WhisperX, so it might not be accurate.
64
+ - speaker_id: The speaker in the segment (each different speaker in the original source was given an integer id). This field was automatically writter by WhisperX, so it might not be accurate.