# Wornet based synonym filter

**URL:** <https://discuss.elastic.co/t/wornet-based-synonym-filter/14061>\
**Category:** Elasticsearch\
**Created:** [October 22, 2013, 7:54pm UTC](https://discuss.elastic.co/t/wornet-based-synonym-filter/14061 "2013-10-22T19:54:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ban\_Mido](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Ban\_Mido](https://discuss.elastic.co/u/Ban_Mido)\
**Post date:** [October 22, 2013, 7:54pm UTC](https://discuss.elastic.co/t/wornet-based-synonym-filter/14061/1 "2013-10-22T19:54:23Z")

</div>

Hi ,

Is it possible to use Wordnet data file as the synonym file in synonym  
filter

Synony filter -  
[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html)

Wornet Data file - [http://wordnetcode.princeton.edu/wn3.1.dict.tar.gz](http://wordnetcode.princeton.edu/wn3.1.dict.tar.gz)

If this is not the right approach to do this , let me know what is.

~Mido

--  
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:** [October 22, 2013, 8:22pm UTC](https://discuss.elastic.co/t/wornet-based-synonym-filter/14061/2 "2013-10-22T20:22:55Z")

</div>

It is not the right approach. Use the Wordnet Prolog file.

[http://wordnetcode.princeton.edu/3.0/WNprolog-3.0.tar.gz](http://wordnetcode.princeton.edu/3.0/WNprolog-3.0.tar.gz)

Inside you find a file wn\_s.pl which is the "wordnet" format usable by ES  
synonym token filter.

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:** ![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:11am UTC](https://discuss.elastic.co/t/wornet-based-synonym-filter/14061/3 "2017-07-06T02:11:09Z")

</div>


