MCPcopy Create free account
hub / github.com/espnet/espnet / __call__

Method __call__

espnet2/train/preprocessor.py:755–761  ·  view source on GitHub ↗
(
        self, uid: str, data: Dict[str, Union[str, np.ndarray]]
    )

Source from the content-addressed store, hash-verified

753
754 @typechecked
755 def __call__(
756 self, uid: str, data: Dict[str, Union[str, np.ndarray]]
757 ) -> Dict[str, np.ndarray]:
758
759 data = self._speech_process(data)
760 data = self._text_process(data)
761 return data
762
763
764class MutliTokenizerCommonPreprocessor(CommonPreprocessor):

Callers

nothing calls this directly

Calls 2

_text_processMethod · 0.95
_speech_processMethod · 0.45

Tested by

no test coverage detected