Skip to content

Instantly share code, notes, and snippets.

@RooseveltAdvisors
Created October 7, 2016 03:39
Show Gist options
  • Save RooseveltAdvisors/ee39d4542bd1700fc498923d2cd8e2c8 to your computer and use it in GitHub Desktop.
Save RooseveltAdvisors/ee39d4542bd1700fc498923d2cd8e2c8 to your computer and use it in GitHub Desktop.
install wordnet synonym on Elastic
sudo su
mkdir -p /etc/elasticsearch/analysis
cd /etc/elasticsearch/analysis
wget http://wordnetcode.princeton.edu/3.0/WNprolog-3.0.tar.gz
tar xvzf WNprolog-3.0.tar.gz
mv prolog/wn_s.pl .
rm -rf prolog
rm -f WNprolog-3.0.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment