// This file is autogenerated, DO NOT EDIT
// analysis/tokenfilters/shingle-tokenfilter.asciidoc:220

[source, python]
----
resp = client.indices.analyze(
    tokenizer="whitespace",
    filter=[
        {
            "type": "shingle",
            "min_shingle_size": 2,
            "max_shingle_size": 3,
            "output_unigrams": False
        }
    ],
    text="quick brown fox jumps",
)
print(resp)
----
