(self, maxchars=200, surround=20, charlimit=DEFAULT_CHARLIMIT)
:param maxchars: The maximum number of characters allowed in a
            fragment.
        :param surround: The number of extra characters of context to add both
            before the first matched term and after the last matched term.
:param maxchars: The maximum number of characters allowed in a
            fragment.
        :param surround: The number of extra characters of context to add both
            before the first matched term and after the last matched term.
: param maxchars : The maximum number of characters allowed in a fragment . : param surround : The number of extra characters of context to add both before the first matched term and after the last matched term .
def __init__(self, maxchars=200, surround=20, charlimit=DEFAULT_CHARLIMIT):
        """
        :param maxchars: The maximum number of characters allowed in a
            fragment.
        :param surround: The number of extra characters of context to add both
            before the first matched term and after the last matched term.
        """

        self.maxchars = maxchars
        self.surround = surround
        self.charlimit = charlimit
def __init__ ( self , maxchars = 200 , surround = 20 , charlimit = DEFAULT_CHARLIMIT ) : self . maxchars = maxchars self . surround = surround self . charlimit = charlimit