from .base import Filth

import typing


class KnownFilth(Filth):
    type = 'known'

    def __init__(self, *args, comparison_type: typing.Optional[str] = None, **kwargs):
        super(KnownFilth, self).__init__(*args, **kwargs)
        self.comparison_type = comparison_type

    # def __repr__(self) -> str:
    #     return self._to_string(['text', 'document_name', 'beg', 'end', 'comparison_type', 'detector_name', 'locale'])
