mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Sync our Snowball stemmer dictionaries with current upstream.
We haven't touched these since text search functionality landed in core in 2007 :-(. While the upstream project isn't a beehive of activity, they do make additions and bug fixes from time to time. Update our copies of these files. Also update our documentation about how to keep things in sync, since they're not making distribution tarballs these days. Fortunately, their source code turns out to be a breeze to build. Notable changes: * The non-UTF8 version of the hungarian stemmer now works in LATIN2 not LATIN1. * New stemmers have appeared for arabic, indonesian, irish, lithuanian, nepali, and tamil. These all work in UTF8, and the indonesian and irish ones also work in LATIN1. (There are some new stemmers that I did not incorporate, mainly because their names don't match the underlying languages, suggesting that they're not to be considered mainstream.) Worth noting: the upstream Nepali dictionary was contributed by Arthur Zakirov. initdb forced because the contents of snowball_create.sql have changed. Still TODO: see about updating the stopword lists. Arthur Zakirov, minor mods and doc work by me Discussion: https://postgr.es/m/20180626122025.GA12647@zakirov.localdomain Discussion: https://postgr.es/m/20180219140849.GA9050@zakirov.localdomain
This commit is contained in:
@ -3792,9 +3792,10 @@ Parser: "pg_catalog.default"
|
||||
List text search dictionaries (add <literal>+</literal> for more detail).
|
||||
<screen>
|
||||
=> \dFd
|
||||
List of text search dictionaries
|
||||
Schema | Name | Description
|
||||
List of text search dictionaries
|
||||
Schema | Name | Description
|
||||
------------+-----------------+-----------------------------------------------------------
|
||||
pg_catalog | arabic_stem | snowball stemmer for arabic language
|
||||
pg_catalog | danish_stem | snowball stemmer for danish language
|
||||
pg_catalog | dutch_stem | snowball stemmer for dutch language
|
||||
pg_catalog | english_stem | snowball stemmer for english language
|
||||
@ -3802,7 +3803,11 @@ Parser: "pg_catalog.default"
|
||||
pg_catalog | french_stem | snowball stemmer for french language
|
||||
pg_catalog | german_stem | snowball stemmer for german language
|
||||
pg_catalog | hungarian_stem | snowball stemmer for hungarian language
|
||||
pg_catalog | indonesian_stem | snowball stemmer for indonesian language
|
||||
pg_catalog | irish_stem | snowball stemmer for irish language
|
||||
pg_catalog | italian_stem | snowball stemmer for italian language
|
||||
pg_catalog | lithuanian_stem | snowball stemmer for lithuanian language
|
||||
pg_catalog | nepali_stem | snowball stemmer for nepali language
|
||||
pg_catalog | norwegian_stem | snowball stemmer for norwegian language
|
||||
pg_catalog | portuguese_stem | snowball stemmer for portuguese language
|
||||
pg_catalog | romanian_stem | snowball stemmer for romanian language
|
||||
@ -3810,6 +3815,7 @@ Parser: "pg_catalog.default"
|
||||
pg_catalog | simple | simple dictionary: just lower case and check for stopword
|
||||
pg_catalog | spanish_stem | snowball stemmer for spanish language
|
||||
pg_catalog | swedish_stem | snowball stemmer for swedish language
|
||||
pg_catalog | tamil_stem | snowball stemmer for tamil language
|
||||
pg_catalog | turkish_stem | snowball stemmer for turkish language
|
||||
</screen>
|
||||
</para>
|
||||
|
Reference in New Issue
Block a user