// This file is autogenerated, DO NOT EDIT
// analysis/analyzers/lang-analyzer.asciidoc:1359

[source, python]
----
resp = client.indices.create(
    index="norwegian_example",
    settings={
        "analysis": {
            "filter": {
                "norwegian_stop": {
                    "type": "stop",
                    "stopwords": "_norwegian_"
                },
                "norwegian_keywords": {
                    "type": "keyword_marker",
                    "keywords": [
                        "eksempel"
                    ]
                },
                "norwegian_stemmer": {
                    "type": "stemmer",
                    "language": "norwegian"
                }
            },
            "analyzer": {
                "rebuilt_norwegian": {
                    "tokenizer": "standard",
                    "filter": [
                        "lowercase",
                        "norwegian_stop",
                        "norwegian_keywords",
                        "norwegian_stemmer"
                    ]
                }
            }
        }
    },
)
print(resp)
----
