Update libriheavy.py
Browse files- libriheavy.py +2 -0
libriheavy.py
CHANGED
@@ -57,6 +57,7 @@ class Libriheavy(datasets.GeneratorBasedBuilder):
|
|
57 |
{
|
58 |
"id": datasets.Value("string"),
|
59 |
"speaker_id": datasets.Value("string"),
|
|
|
60 |
"speaker_vec": datasets.Sequence(datasets.Value("float32")),
|
61 |
"audio": datasets.Value("string"),
|
62 |
"text": datasets.Value("string"),
|
@@ -220,6 +221,7 @@ class Libriheavy(datasets.GeneratorBasedBuilder):
|
|
220 |
"id": chunk["speaker_id"] + "_" + utterance_id,
|
221 |
"speaker_id": chunk["speaker_id"],
|
222 |
"speaker_vec": npz_item["d_vector"][0],
|
|
|
223 |
"audio": chunk["audio"],
|
224 |
"text": chunk["text"],
|
225 |
"word_segments": [
|
|
|
57 |
{
|
58 |
"id": datasets.Value("string"),
|
59 |
"speaker_id": datasets.Value("string"),
|
60 |
+
"speaker_name": datasets.Value("string"),
|
61 |
"speaker_vec": datasets.Sequence(datasets.Value("float32")),
|
62 |
"audio": datasets.Value("string"),
|
63 |
"text": datasets.Value("string"),
|
|
|
221 |
"id": chunk["speaker_id"] + "_" + utterance_id,
|
222 |
"speaker_id": chunk["speaker_id"],
|
223 |
"speaker_vec": npz_item["d_vector"][0],
|
224 |
+
"speaker_name": chunk["speaker_name"],
|
225 |
"audio": chunk["audio"],
|
226 |
"text": chunk["text"],
|
227 |
"word_segments": [
|