dict_croatian_stem
croatian-stemmer · Croatian stemming dictionary and text search configuration
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102487 | dict_croatian_stem | croatian-stemmer | 1.0 | FTS | LGPL-3.0-or-later | C |
PostgreSQL · 15, 16, 17, 18
Usage
Sources:
dict_croatian_stem adds a Croatian stemming dictionary and text search configuration. The reviewed source declares extension version 1.0 and tests PostgreSQL 15–18. It is a C extension with no additional runtime dependency or preload requirement.
Search Croatian Text
Once server files are installed, a role with database CREATE privilege can install this trusted extension.
The dictionary reduces inflected words to stems. The extension creates croatian_stem_template, the croatian_stem dictionary and the croatian configuration; use the same configuration when indexing documents and processing queries.
Stop Words and Maintenance
Built-in stop words are always discarded. To add a list, install its file in the server text-search data directory and create a separate dictionary:
This reads my_croatian.stop; creating the dictionary alone does not replace mappings in an existing search configuration. Map the relevant token classes to the new dictionary when adopting it. Recompute stored search vectors and rebuild affected indexes when stemming or stop-word behavior changes. Stemming is heuristic and does not establish semantic equivalence. The source is LGPL-3.0-or-later.