(expression=default_pattern, gaps=False)
return RegexTokenizer(expression=expression, gaps=gaps) | LowercaseFilter()
Composes a RegexTokenizer with a LowercaseFilter.

    >>> ana = SimpleAnalyzer()
    >>> [token.text for token in ana("Hello there, this is a TEST")]
    ["hello", "there", "this", "is", "a", "test"]

    :param expression: The regular expression pattern to use to extract tokens.
    :param gaps: If True, the tokenizer *splits* on the expression, rather
        than matching on the expression.
Composes a RegexTokenizer with a LowercaseFilter.
Composes a RegexTokenizer with a LowercaseFilter .
def SimpleAnalyzer(expression=default_pattern, gaps=False):
    """Composes a RegexTokenizer with a LowercaseFilter.

    >>> ana = SimpleAnalyzer()
    >>> [token.text for token in ana("Hello there, this is a TEST")]
    ["hello", "there", "this", "is", "a", "test"]

    :param expression: The regular expression pattern to use to extract tokens.
    :param gaps: If True, the tokenizer *splits* on the expression, rather
        than matching on the expression.
    """

    return RegexTokenizer(expression=expression, gaps=gaps) | LowercaseFilter()
def SimpleAnalyzer ( expression = default_pattern , gaps = False ) : return RegexTokenizer ( expression = expression , gaps = gaps ) | LowercaseFilter ( )