data_juicer.ops.mapper.clean_copyright_mapper module¶ class data_juicer.ops.mapper.clean_copyright_mapper.CleanCopyrightMapper(*args, **kwargs)[源代码]¶ 基类:Mapper Mapper to clean copyright comments at the beginning of the text samples. __init__(*args, **kwargs)[源代码]¶ Initialization method. 参数: args -- extra args kwargs -- extra args process_batched(samples)[源代码]¶