Thread: pgsql: Improve support of Hunspell

pgsql: Improve support of Hunspell

From
Teodor Sigaev
Date:
Improve support of Hunspell

- allow to use non-ascii characters as affix flag. Non-numeric affix flags now
  are stored as string instead of numeric value of character.
- allow to use 0 as affix flag in numeric encoded affixes

That adds support for arabian, hungarian, turkish and
brazilian portuguese languages.

Author: Artur Zakirov with heavy editorization by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f4ceed6ceba31a72ed7a726fef05d211641f283c

Modified Files
--------------
src/backend/tsearch/spell.c       | 431 +++++++++++++++++++++++---------------
src/include/tsearch/dicts/spell.h |  44 +++-
2 files changed, 302 insertions(+), 173 deletions(-)