Elision Token Filter

edit

A token filter which removes elisions. For example, "l’avion" (the plane) will tokenized as "avion" (plane).

Accepts articles parameter which is a set of stop words articles. Also accepts articles_case, which indicates whether the filter treats those articles as case insensitive.

For example:

PUT /elision_example
{
    "settings" : {
        "analysis" : {
            "analyzer" : {
                "default" : {
                    "tokenizer" : "standard",
                    "filter" : ["elision"]
                }
            },
            "filter" : {
                "elision" : {
                    "type" : "elision",
                    "articles_case": true,
                    "articles" : ["l", "m", "t", "qu", "n", "s", "j"]
                }
            }
        }
    }
}