# Adding accent folding to English analyzer

**URL:** <https://discuss.elastic.co/t/adding-accent-folding-to-english-analyzer/13092>\
**Category:** Elasticsearch\
**Created:** [August 6, 2013, 6:49pm UTC](https://discuss.elastic.co/t/adding-accent-folding-to-english-analyzer/13092 "2013-08-06T18:49:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [August 6, 2013, 6:49pm UTC](https://discuss.elastic.co/t/adding-accent-folding-to-english-analyzer/13092/1 "2013-08-06T18:49:00Z")

</div>

Right now I use the English analyzer for English text. If I wanted to  
enable accent folding would I have to recreate the whole analyzer like this:  
{  
'type': 'custom',  
'tokenizer': 'standard',  
'filter': [ 'standard', 'english\_possessive', 'lowercase',  
'stop', 'porter\_stem', 'icu\_folding' ]  
}

Assuming that is what I have to do, it looks like english\_possessive filter  
is not something I can create via the api. Should I be doing something  
else?

Nik

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [August 6, 2013, 7:13pm UTC](https://discuss.elastic.co/t/adding-accent-folding-to-english-analyzer/13092/2 "2013-08-06T19:13:26Z")

</div>

The filter's name is 'possessive\_english'

See [https://github.com/elasticsearch/elasticsearch/issues/908](https://github.com/elasticsearch/elasticsearch/issues/908)

Note, if you analyze english only, there is no need for ICU because there  
is a filter 'asciifolding'  
[http://www.elasticsearch.org/guide/reference/index-modules/analysis/asciifolding-tokenfilter/](http://www.elasticsearch.org/guide/reference/index-modules/analysis/asciifolding-tokenfilter/)

Jörg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)\
**Post date:** [August 6, 2013, 7:18pm UTC](https://discuss.elastic.co/t/adding-accent-folding-to-english-analyzer/13092/3 "2013-08-06T19:18:45Z")

</div>

Yeah the english possessive filter seems not to be exposed. I willl create  
and issue and add it.

simon

On Tuesday, August 6, 2013 8:49:00 PM UTC+2, Nikolas Everett wrote:

> Right now I use the English analyzer for English text. If I wanted to  
> enable accent folding would I have to recreate the whole analyzer like this:  
> {  
> 'type': 'custom',  
> 'tokenizer': 'standard',  
> 'filter': [ 'standard', 'english\_possessive', 'lowercase',  
> 'stop', 'porter\_stem', 'icu\_folding' ]  
> }
> 
> Assuming that is what I have to do, it looks like english\_possessive  
> filter is not something I can create via the api. Should I be doing  
> something else?
> 
> Nik

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)\
**Post date:** [August 6, 2013, 7:19pm UTC](https://discuss.elastic.co/t/adding-accent-folding-to-english-analyzer/13092/4 "2013-08-06T19:19:46Z")

</div>

nevermind Joerg is right!

simon

On Tuesday, August 6, 2013 9:18:45 PM UTC+2, simonw wrote:

> Yeah the english possessive filter seems not to be exposed. I willl create  
> and issue and add it.
> 
> simon
> 
> On Tuesday, August 6, 2013 8:49:00 PM UTC+2, Nikolas Everett wrote:
> 
> > Right now I use the English analyzer for English text. If I wanted to  
> > enable accent folding would I have to recreate the whole analyzer like this:  
> > {  
> > 'type': 'custom',  
> > 'tokenizer': 'standard',  
> > 'filter': [ 'standard', 'english\_possessive',  
> > 'lowercase', 'stop', 'porter\_stem', 'icu\_folding' ]  
> > }
> > 
> > Assuming that is what I have to do, it looks like english\_possessive  
> > filter is not something I can create via the api. Should I be doing  
> > something else?
> > 
> > Nik

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:22am UTC](https://discuss.elastic.co/t/adding-accent-folding-to-english-analyzer/13092/5 "2017-07-06T02:22:37Z")

</div>


