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

Method __call__

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

Source from the content-addressed store, hash-verified

1505
1506 @typechecked
1507 def __call__(
1508 self, uid: str, data: Dict[str, Union[str, np.ndarray]]
1509 ) -> Dict[str, np.ndarray]:
1510
1511 data = self._speech_process(uid, data)
1512 data = self._text_process(data)
1513 return data
1514
1515
1516class SVSPreprocessor(AbsPreprocessor):

Callers

nothing calls this directly

Calls 2

_speech_processMethod · 0.95
_text_processMethod · 0.45

Tested by

no test coverage detected