diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:19:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:19:15 +0000 |
commit | 6eb9c5a5657d1fe77b55cc261450f3538d35a94d (patch) | |
tree | 657d8194422a5daccecfd42d654b8a245ef7b4c8 /src/backend/tsearch/dicts/hunspell_sample_num.affix | |
parent | Initial commit. (diff) | |
download | postgresql-13-upstream.tar.xz postgresql-13-upstream.zip |
Adding upstream version 13.4.upstream/13.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/backend/tsearch/dicts/hunspell_sample_num.affix')
-rw-r--r-- | src/backend/tsearch/dicts/hunspell_sample_num.affix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/backend/tsearch/dicts/hunspell_sample_num.affix b/src/backend/tsearch/dicts/hunspell_sample_num.affix new file mode 100644 index 0000000..0c4766a --- /dev/null +++ b/src/backend/tsearch/dicts/hunspell_sample_num.affix @@ -0,0 +1,33 @@ +FLAG num + +COMPOUNDFLAG 101 +ONLYINCOMPOUND 102 + +PFX 201 Y 1 +PFX 201 0 re . + +PFX 202 N 1 +PFX 202 0 un . + +SFX 301 Y 1 +SFX 301 0 INGS [^E] + +SFX 302 Y 1 +SFX 302 0 ING [^E] + +SFX 303 Y 1 +SFX 303 0 S [^SXZHY] + +# Remove ED suffix from lexeme for base words with K ending +SFX 306 Y 1 +SFX 306 0 ED K{1} + +# Just add Y to lexeme for base words with Y ending +SFX 307 Y 1 +SFX 307 Y 0 Y* + +SFX 304 Y 1 +SFX 304 Y IES [^AEIOU]Y + +SFX 305 N 1 +SFX 305 0 Y/102 [^Y] |