Wornet based synonym filter


(Ban Mido) #1

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

Wornet Data file - 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.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #2

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

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.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3