shixian.shi
2023-03-13 0766a89c8d4a4d43238689fb4c4f72b241ebf437
funasr/tasks/asr.py
@@ -1331,4 +1331,13 @@
            cls, train: bool = True, inference: bool = False
    ) -> Tuple[str, ...]:
        retval = ("speech", "text")
        return retval
class ASRTaskAligner(ASRTaskParaformer):
    @classmethod
    def required_data_names(
            cls, train: bool = True, inference: bool = False
    ) -> Tuple[str, ...]:
        retval = ("speech", "text")
        return retval