Re: [PATCH] Completed unaccent dictionary with many missing characters

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Przemysław Sztoch <przemyslaw@sztoch.pl>, pgsql-hackers@lists.postgresql.org
Date: 2022-05-04T15:32:37Z
Lists: pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> On 28.04.22 18:50, Przemysław Sztoch wrote:
>> Current unnaccent dictionary does not include many popular numeric symbols,
>> in example: "m²" -> "m2"

> Seems reasonable.

It kinda feels like this is outside the charter of an "unaccent"
dictionary.  I don't object to having these conversions available
but it seems like it ought to be a separate feature.

			regards, tom lane



Commits

  1. Simplify a bit the special rules generating unaccent.rules