// This file is autogenerated, DO NOT EDIT
// analysis/tokenfilters/keep-types-tokenfilter.asciidoc:41

[source, python]
----
resp = client.indices.analyze(
    tokenizer="standard",
    filter=[
        {
            "type": "keep_types",
            "types": [
                "<NUM>"
            ]
        }
    ],
    text="1 quick fox 2 lazy dogs",
)
print(resp)
----
