Skip to content

Instantly share code, notes, and snippets.

@jpountz
Created August 6, 2013 15:31
Show Gist options
  • Select an option

  • Save jpountz/6165557 to your computer and use it in GitHub Desktop.

Select an option

Save jpountz/6165557 to your computer and use it in GitHub Desktop.
light french stemmer with ascii folding
{
"settings": {
"analysis": {
"analyzer": {
"french2": {
"type": "custom",
"tokenizer": "standard",
"filter": ["standard","asciifolding","elision","lowercase","stop_fr","light_french_stem"]
}
},
"filter": {
"stop_fr": {
"type": "stop",
"stopword": ["_french_"]
},
"light_french_stem": {
"type": "stemmer",
"language": "light_french"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment