dropped dataset caching

This commit is contained in:
Thomas Werkmeister
2019-04-29 11:07:04 +02:00
parent 2e8446539f
commit 7b2804cc0d
9 changed files with 15 additions and 174 deletions
-12
View File
@@ -1,18 +1,6 @@
import os
def tts_cache(root_path, meta_file):
"""This format is set for the meta-file generated by extract_features.py"""
txt_file = os.path.join(root_path, meta_file)
items = []
with open(txt_file, 'r', encoding='utf8') as f:
for line in f:
cols = line.split('| ')
# text, wav_full_path, mel_name, linear_name, wav_len, mel_len
items.append(cols)
return items
def tweb(root_path, meta_file):
"""Normalize TWEB dataset.
https://www.kaggle.com/bryanpark/the-world-english-bible-speech-dataset