arabic_stem
Snowball stemmer for arabic language.
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- Language
- arabic
- Ascii language
- arabic
- Stopword lines
- 0
- Dictionary
- arabic_stem
- Template
- snowball
- aliases
- 未知
- manual path
- /docs/18/textsearch-dictionaries.html#TEXTSEARCH-SNOWBALL-DICTIONARY
- signature
- 未知
版本定义 PG 18
12.6.6. Snowball Dictionary
The Snowball dictionary template is based on a project by Martin Porter, inventor of the popular Porter's stemming algorithm for the English language. Snowball now provides stemming algorithms for many languages (see the Snowball site for more information). Each algorithm understands how to reduce common variant forms of words to a base, or stem, spelling within its language. A Snowball dictionary requires a language parameter to identify which stemmer to use, and optionally can specify a stopword file name that gives a list of words to eliminate. (PostgreSQL's standard stopword lists are also provided by the Snowball project.) For example, there is a built-in definition equivalent to
CREATE TEXT SEARCH DICTIONARY english_stem (
TEMPLATE = snowball,
Language = english,
StopWords = english
);
The stopword file format is the same as already explained.
A Snowball dictionary recognizes everything, whether or not it is able to simplify the word, so it should be placed at the end of the dictionary list. It is useless to have it before any other dictionary because a token will never pass through it to the next dictionary.
比较版本
完整来源事实
attributes
{"ascii_language":"arabic","dictionary":"arabic_stem","language":"arabic","stopword_lines":0,"stopword_sha256":"","stopwords":"","template":"snowball"}来源引用
定义来源
center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f