data_juicer.ops.mapper.clean_ip_mapper module¶
- class data_juicer.ops.mapper.clean_ip_mapper.CleanIpMapper(pattern: str | None = None, repl: str = '', *args, **kwargs)[source]¶
Bases:
Mapper
Mapper to clean ipv4 and ipv6 address in text samples.
Bases: Mapper
Mapper to clean ipv4 and ipv6 address in text samples.