// This file is autogenerated, DO NOT EDIT
// analysis/tokenfilters/flatten-graph-tokenfilter.asciidoc:39

[source, python]
----
resp = client.indices.analyze(
    tokenizer="standard",
    filter=[
        {
            "type": "synonym_graph",
            "synonyms": [
                "dns, domain name system"
            ]
        }
    ],
    text="domain name system is fragile",
)
print(resp)
----
