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

def SimpleAnalyzer ( expression = default_pattern , gaps = False ) : return ( RegexTokenizer ( expression = expression , gaps = gaps ) | LowercaseFilter ( ) )
composes a regextokenizer with a lowercasefilter .