paddlespeech.vector.io.dataset_from_json 模块
- class paddlespeech.vector.io.dataset_from_json.JSONDataset(json_file: str, feat_type: str = 'raw', **kwargs)[来源]
基础:
Dataset来自json文件的数据集。
- class paddlespeech.vector.io.dataset_from_json.meta_info(utt_id: str, duration: float, wav: str, start: int, stop: int, record_id: str)[来源]
基础:
object向量 JSONDataset 中的音频元信息
参数:utt_id (str): 段名称
duration (float): 段时间
wav (str): wav 文件路径
start (int): 原始 wav 文件中的起始点
stop (int): 原始 wav 文件中的停止点
lab_id (str): 记录 ID- duration: float
- record_id: str
- start: int
- stop: int
- utt_id: str
- wav: str