postgresql/contrib/tsearch2/thesaurus
Teodor Sigaev 22505f4703 Add thesaurus dictionary which can replace N>0 lexemes by M>0 lexemes.
It required some changes in lexize algorithm, but interface with
dictionaries stays compatible with old dictionaries.

Funded by Georgia Public Library Service and LibLime, Inc.
2006-05-31 14:05:31 +00:00

20 lines
293 B
Plaintext

#
# Theasurus config file. Character ':' splits
# string to part:
# to be substituted string
# substituting string
#
#one two three : 123
#one two : 12
#one : 1
#two : 2
#foo bar : blah blah
#f bar : fbar
#e bar : ebar
#g bar bar : gbarbar
#asd:sdffff
#qwerty:qwer wert erty