mj-new commited on
Commit
37cc976
1 Parent(s): 70c57c1

Updated README

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. test.py +8 -0
README.md CHANGED
@@ -123,8 +123,8 @@ Available fields:
123
  * `speaker_age` - age group of the speaker (in CommonVoice format) extracted from the source (N/A if not available)
124
  * `utt_length_words` - length of the utterance in words
125
  * `utt_length_chars` - length of the utterance in characters
126
- * `speech_rate_words` - speech rate - average number of words per second
127
- * `speech_rate_chars` - speech rage - average number of characters per second
128
 
129
  <br><br>
130
 
 
123
  * `speaker_age` - age group of the speaker (in CommonVoice format) extracted from the source (N/A if not available)
124
  * `utt_length_words` - length of the utterance in words
125
  * `utt_length_chars` - length of the utterance in characters
126
+ * `speech_rate_words` - ratio of words to recording duration.
127
+ * `speech_rate_chars` - ratio of characters to recording duration.
128
 
129
  <br><br>
130
 
test.py CHANGED
@@ -21,6 +21,14 @@ print(f"Testing dataset: {dataset_name} from account {hf_account} for all subset
21
  print("Checking build script locally - test split")
22
  dataset_local = load_dataset(f"{dataset_name}.py", "all")
23
 
 
 
 
 
 
 
 
 
24
  print(dataset_local)
25
  print(dataset_local["test"][0])
26
  print(dataset_local["validation"][0])
 
21
  print("Checking build script locally - test split")
22
  dataset_local = load_dataset(f"{dataset_name}.py", "all")
23
 
24
+ print(set(dataset_local["test"]["speaker_age"]))
25
+ print(set(dataset_local["validation"]["speaker_age"]))
26
+ print(set(dataset_local["train"]["speaker_age"]))
27
+
28
+ print(set(dataset_local["test"]["speaker_gender"]))
29
+ print(set(dataset_local["validation"]["speaker_gender"]))
30
+ print(set(dataset_local["train"]["speaker_gender"]))
31
+
32
  print(dataset_local)
33
  print(dataset_local["test"][0])
34
  print(dataset_local["validation"][0])