RefLib

Reference library for AI

Back

postgresql_16:9.6.48.1 Configuration

PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > unaccent — a text search dictionary which removes diacritics > Configuration

An unaccent dictionary accepts the following options:

The rules file has the following format:

A more complete example, which is directly useful for most European languages, can be found in unaccent.rules, which is installed in $SHAREDIR/tsearch_data/ when the unaccent module is installed. This rules file translates characters with accents to the same characters without accents, and it also expands ligatures into the equivalent series of simple characters (for example, Æ to AE).

Back