Previous   Next 

Installing a language dictionary

  • The algorithmic stemmer is a good catch all stemmer, but stemming can be improved by using a ISpell language dictionary that knows for certain which words are related.
  • Download the english dictionary, ispell-english.tar.gz, from the Tsearch V2 homepage at: http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/.
  • The Tsearch V2 homepage also has russian, slovak, slovenian, and french dictionaries available.
tar -xvzf ispell-english.tar.gz
su;
cp english.aff /usr/local/pgsql/share/contrib
cp english.dict /usr/local/pgsql/share/contrib
exit;