(self, wordset, keep_compound=True)
:param wordset: an object with a ``__contains__`` method, such as a
            set, containing strings to look for inside the tokens.
        :param keep_compound: if True (the default), the original compound
            token will be retained in the stream before the subwords.
:param wordset: an object with a ``__contains__`` method, such as a
            set, containing strings to look for inside the tokens.
        :param keep_compound: if True (the default), the original compound
            token will be retained in the stream before the subwords.
: param wordset : an object with a __contains__ method such as a set containing strings to look for inside the tokens . : param keep_compound : if True ( the default ) the original compound token will be retained in the stream before the subwords .
def __init__(self, wordset, keep_compound=True):
        """
        :param wordset: an object with a ``__contains__`` method, such as a
            set, containing strings to look for inside the tokens.
        :param keep_compound: if True (the default), the original compound
            token will be retained in the stream before the subwords.
        """

        self.wordset = wordset
        self.keep_compound = keep_compound
def __init__ ( self , wordset , keep_compound = True ) : self . wordset = wordset self . keep_compound = keep_compound