Skip to content
Snippets Groups Projects
anonymizer.py 397 B
Newer Older
Bartłomiej Koptyra's avatar
Bartłomiej Koptyra committed
"""Implementation of anonymizer functionality."""
import re


class Anonymizer:
    """Class used to edit sentences based on options."""

    def __init__(self, task_options):
        self.method = task_options.get('method', 'delete')

    def process(self):
        if ctag == 'ign':
            # sprawddz czy to nick a potem email
            # sprawdz czy to nazwa własna jak mBank? nie wiem