// This file is autogenerated, DO NOT EDIT
// analysis/tokenfilters/limit-token-count-tokenfilter.asciidoc:43

[source, python]
----
resp = client.indices.analyze(
    tokenizer="standard",
    filter=[
        {
            "type": "limit",
            "max_token_count": 2
        }
    ],
    text="quick fox jumps over lazy dog",
)
print(resp)
----
