esperanto_stem
Snowball stemmer for esperanto language.
Reading PG 19·Select a recorded version
- Language
- esperanto
- Ascii language
- esperanto
- Stopword lines
- 0
- Dictionary
- esperanto_stem
- Template
- snowball
- aliases
- Unknown
- manual path
- /docs/19/textsearch-dictionaries.html#TEXTSEARCH-SNOWBALL-DICTIONARY
- signature
- Unknown
Definition PG 19
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.)
The available values of the language parameter are: arabic, armenian, basque, catalan, danish, dutch, dutch_porter, english, esperanto, estonian, finnish, french, german, greek, hindi, hungarian, indonesian, irish, italian, lithuanian, nepali, norwegian, polish, porter, portuguese, romanian, russian, serbian, spanish, swedish, tamil, turkish, and yiddish. The porter algorithm is an old stemmer for English, and the dutch_porter algorithm is an old stemmer for Dutch (it was called dutch in PostgreSQL releases before 19). The rest are the currently-recommended stemmers for their respective languages. All these algorithms except porter and dutch_porter have built-in dictionaries provided, most with stopword lists attached. 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.
Compare versions
Complete source facts
attributes
{"ascii_language":"esperanto","dictionary":"esperanto_stem","language":"esperanto","stopword_lines":0,"stopword_sha256":"","stopwords":"","template":"snowball"}Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 19 · af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701
Text language: en · af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701