espnet2.train.preprocessor.UniversaProcessor
espnet2.train.preprocessor.UniversaProcessor
class espnet2.train.preprocessor.UniversaProcessor(train: bool, metric2type: Dict[str, str] | None = None, token_type: str | None = None, token_list: Path | str | Iterable[str] = None, bpemodel: Path | str | Iterable[str] = None, text_cleaner: Collection[str] = None, g2p_type: str | None = None, unk_symbol: str = '<unk>', space_symbol: str = '<space>', non_linguistic_symbols: Path | str | Iterable[str] = None, delimiter: str | None = None, force_single_channel: bool = True, audio_volume_normalize: float = None, audio_name: str = 'audio', ref_audio_name: str = 'ref_audio', text_name: str = 'ref_text', fs: int = 0, nonsplit_symbol: Iterable[str] = None, min_sample_size: int = -1, audio_pad_value: float | int = 0.0, empty_audio_length: int = 8000)
Bases: AbsPreprocessor
