From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Improve support of Hunspell in ispell dictionary. |
Date: | 2016-03-04 17:08:52 |
Message-ID: | E1abtDg-0003kT-7C@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Improve support of Hunspell in ispell dictionary.
Now it's possible to load recent version of Hunspell for several languages.
To handle these dictionaries Hunspell patch adds support for:
* FLAG long - sets the double extended ASCII character flag type
* FLAG num - sets the decimal number flag type (from 1 to 65535)
* AF parameter - alias for flag's set
Also it moves test dictionaries into separate directory.
Author: Artur Zakirov with editorization by me
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/d78a7d9c7fa3e9cd494b906f065fe7b7fe9fb9a5
Modified Files
--------------
doc/src/sgml/textsearch.sgml | 148 ++++-
src/backend/tsearch/Makefile | 7 +-
src/backend/tsearch/dicts/hunspell_sample.affix | 24 +
.../tsearch/dicts/hunspell_sample_long.affix | 35 ++
.../tsearch/dicts/hunspell_sample_long.dict | 8 +
.../tsearch/dicts/hunspell_sample_num.affix | 26 +
src/backend/tsearch/dicts/hunspell_sample_num.dict | 8 +
src/backend/tsearch/dicts/ispell_sample.affix | 26 +
src/backend/tsearch/dicts/ispell_sample.dict | 8 +
src/backend/tsearch/dicts/synonym_sample.syn | 5 +
src/backend/tsearch/dicts/thesaurus_sample.ths | 17 +
src/backend/tsearch/hunspell_sample.affix | 24 -
src/backend/tsearch/ispell_sample.affix | 26 -
src/backend/tsearch/ispell_sample.dict | 8 -
src/backend/tsearch/spell.c | 611 ++++++++++++++++++---
src/backend/tsearch/synonym_sample.syn | 5 -
src/backend/tsearch/thesaurus_sample.ths | 17 -
src/include/tsearch/dicts/spell.h | 51 +-
src/test/regress/expected/tsdicts.out | 234 ++++++++
src/test/regress/sql/tsdicts.sql | 64 +++
20 files changed, 1183 insertions(+), 169 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-03-04 17:30:16 | pgsql: Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be |
Previous Message | Robert Haas | 2016-03-04 16:58:05 | pgsql: Fix query-based tab completion for multibyte characters. |