def SpaceSeparatedTokenizer():
 return RegexTokenizer('[^ \\t\\r\\n]+')

def SpaceSeparatedTokenizer ( ) : return RegexTokenizer ( '[^ \\t\\r\\n]+' )
returns a regextokenizer that splits tokens by whitespace .