# Hyphenation decompounder - how to use?

**URL:** <https://discuss.elastic.co/t/hyphenation-decompounder-how-to-use/31399>\
**Category:** Elasticsearch\
**Created:** [September 30, 2015, 11:05am UTC](https://discuss.elastic.co/t/hyphenation-decompounder-how-to-use/31399 "2015-09-30T11:05:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babadofar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/babadofar/32/44803_2.png) [@Babadofar](https://discuss.elastic.co/u/Babadofar)\
**Post date:** [September 30, 2015, 11:05am UTC](https://discuss.elastic.co/t/hyphenation-decompounder-how-to-use/31399/1 "2015-09-30T11:05:24Z")

</div>

Hi!  
I'm trying to use the hyphenation decompounder as described here[1], on elasticsearch 1.7.2.  
I downloaded the hyphenation grammar files, trying to use both an inline list of words, a large file of words, but it is not able to split anything. I have tried using both Norwegian and English. Using the same word list with the dictionary decompounder produces a lot of tokens.

sample code: [https://gist.github.com/babadofar/858df2b321f2209e20af](https://gist.github.com/babadofar/858df2b321f2209e20af)

1. [https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-compound-word-tokenfilter.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-compound-word-tokenfilter.html)

---

<div class="post-metadata">

**Author:** ![Babadofar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/babadofar/32/44803_2.png) [@Babadofar](https://discuss.elastic.co/u/Babadofar)\
**Post date:** [October 5, 2015, 11:34am UTC](https://discuss.elastic.co/t/hyphenation-decompounder-how-to-use/31399/2 "2015-10-05T11:34:36Z")

</div>

I still don't get this working, created an issue at github here: [https://github.com/elastic/elasticsearch/issues/13935](https://github.com/elastic/elasticsearch/issues/13935)

---

<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 5, 2017, 11:46pm UTC](https://discuss.elastic.co/t/hyphenation-decompounder-how-to-use/31399/3 "2017-07-05T23:46:44Z")

</div>


