PATCH: Update snowball stemmers
Artur Zakirov <a.zakirov@postgrespro.ru>
From: Arthur Zakirov <a.zakirov@postgrespro.ru>
To: pgsql-hackers@lists.postgresql.org
Date: 2018-06-26T12:20:29Z
Lists: pgsql-hackers
Attachments
- update_snowball_stemmers.patch (text/plain) patch
Hello hackers, I'd like to propose the patch which syncs PostgreSQL snowball stemmers. As Tom pointed [1] stemmers haven't synced for a very long time. I copied all source files without changes, except replacing '#include "../runtime/header.h"' with '#include "header.h"' and removing includes of standard headers from utilities.c. Hungarian language uses ISO-8859-1 and UTF-8 charsets in Postgres HEAD. But in Snowball HEAD it is ISO-8859-2 per commit [2]. This patch changes hungarian's charset from ISO-8859-1 to ISO-8859-2 too. Additionally updated files in the patch are: - utilities.c - header.h Will add to the next commitfest. Any comments? 1 - https://www.postgresql.org/message-id/5689.1519054983%40sss.pgh.pa.us 2 - https://github.com/snowballstem/snowball/commit/4bcae97db044253ea2edae1dd3ca59f3cddd4b9d -- Arthur Zakirov Postgres Professional: http://www.postgrespro.com Russian Postgres Company
Commits
-
Sync our Snowball stemmer dictionaries with current upstream.
- fd582317e10e 12.0 landed