def __init__(self, source, require_matching_tags=True):
super(Filter, self).__init__(source)<EOL>self.require_matching_tags = require_matching_tags<EOL>
Creates a Filter

        :arg source: the source token stream

        :arg require_matching_tags: whether or not to require matching tags